Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TAirRoo.T|sha.glass.1..port_a.T|sha.glass.1..port_b.T|sha.glass.2..port_a.T|sha.glass.2..port_b.T|nonSha.glass.1..port_a.T|nonSha.glass.1..port_b.T|nonSha.glass.2..port_a.T|nonSha.glass.2..port_b.T",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TAirRoo.T|sha.glass.1..port_a.T|sha.glass.1..port_b.T|sha.glass.2..port_a.T|sha.glass.2..port_b.T|nonSha.glass.1..port_a.T|nonSha.glass.1..port_b.T|nonSha.glass.2..port_a.T|nonSha.glass.2..port_b.T",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 184.6 kB / 16.92 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437.8 MB / 0.7128 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003769, allocations: 8 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7754/0.7758, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.0054/0.7812, allocations: 4.705 MB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006426/0.7877, allocations: 4.583 MB / 1.033 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007379/0.7885, allocations: 11.94 kB / 1.033 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.7903, allocations: 0.5695 MB / 1.033 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.7917, allocations: 365.6 kB / 1.034 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.7936, allocations: 0.6504 MB / 1.034 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002255/0.7958, allocations: 1.904 MB / 1.036 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.7969, allocations: 0.5191 MB / 1.037 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009202/0.7978, allocations: 0.5367 MB / 1.037 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.7989, allocations: 0.6727 MB / 1.038 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000289/0.7992, allocations: 68 kB / 1.038 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009168/0.8001, allocations: 303.8 kB / 1.038 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003706/0.8005, allocations: 266.8 kB / 1.038 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009674/0.8015, allocations: 0.6272 MB / 1.039 GB, free: 60 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.8032, allocations: 1.582 MB / 1.041 GB, free: 14.47 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.8032, allocations: 4 kB / 1.041 GB, free: 14.47 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8032, allocations: 0 / 1.041 GB, free: 14.47 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.647e-05/0.8033, allocations: 0 / 1.041 GB, free: 14.47 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.003667/0.807, allocations: 1.674 MB / 1.042 GB, free: 12.74 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.807, allocations: 8.031 kB / 1.042 GB, free: 12.73 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02836/0.8354, allocations: 3.881 MB / 1.046 GB, free: 8.844 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02956/0.865, allocations: 3.813 MB / 1.05 GB, free: 4.973 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.8651, allocations: 58.38 kB / 1.05 GB, free: 4.914 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005876/0.8657, allocations: 76.38 kB / 1.05 GB, free: 4.84 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007331/0.8731, allocations: 2.041 MB / 1.052 GB, free: 2.793 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.8731, allocations: 0 / 1.052 GB, free: 2.793 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001928/0.8733, allocations: 28 kB / 1.052 GB, free: 2.766 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.8733, allocations: 20 kB / 1.052 GB, free: 2.746 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006483/0.8798, allocations: 1.737 MB / 1.054 GB, free: 1.008 MB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/0.891, allocations: 7.369 MB / 1.061 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006247/0.8973, allocations: 1.823 MB / 1.063 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005466/0.9028, allocations: 1.51 MB / 1.064 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004726/0.9033, allocations: 396.9 kB / 1.064 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.9033, allocations: 35.12 kB / 1.065 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 6.131e-06/0.9033, allocations: 7.984 kB / 1.065 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.03828/0.9416, allocations: 8.834 MB / 1.073 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.9417, allocations: 55.97 kB / 1.073 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.9435, allocations: 1.068 MB / 1.074 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003891/0.9439, allocations: 41.64 kB / 1.074 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005999/0.9445, allocations: 0.489 MB / 1.075 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.9449, allocations: 236.5 kB / 1.075 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000335/0.9452, allocations: 57.69 kB / 1.075 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.9454, allocations: 341.9 kB / 1.075 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0101/0.9555, allocations: 2.323 MB / 1.078 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009961/0.9655, allocations: 2.437 MB / 1.08 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01472/0.9802, allocations: 3.261 MB / 1.083 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.9803, allocations: 4 kB / 1.083 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02639/1.007, allocations: 6.212 MB / 1.089 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.204e-05/1.007, allocations: 105.5 kB / 1.089 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02061/1.027, allocations: 4.904 MB / 1.094 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09441/1.122, allocations: 10.49 MB / 1.104 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004108/1.126, allocations: 379.5 kB / 1.105 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008437/1.134, allocations: 3.067 MB / 1.108 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005055/1.14, allocations: 414.7 kB / 1.108 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000322/1.14, allocations: 71.91 kB / 1.108 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/1.14, allocations: 4 kB / 1.108 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02206/1.162, allocations: 5.161 MB / 1.113 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01816/1.18, allocations: 4.556 MB / 1.118 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002341/1.183, allocations: 0.816 MB / 1.119 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004856/1.187, allocations: 487.3 kB / 1.119 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009795/1.197, allocations: 6.136 MB / 1.125 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005149/1.202, allocations: 406.9 kB / 1.125 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002574/1.203, allocations: 71.92 kB / 1.125 GB, free: 6.207 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,43)} Notification: Performance of prepare postOptimizeDAE: time 0.0009433/1.204, allocations: 477.3 kB / 1.126 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/1.204, allocations: 114.6 kB / 1.126 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01861/1.223, allocations: 4.764 MB / 1.131 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/1.223, allocations: 8 kB / 1.131 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/1.223, allocations: 224 / 1.131 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/1.223, allocations: 7.984 kB / 1.131 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0193/1.242, allocations: 6.564 MB / 1.137 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03944/1.281, allocations: 5.159 MB / 1.142 GB, free: 4.859 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/1.284, allocations: 199.7 kB / 1.142 GB, free: 4.664 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.118/1.402, allocations: 15.2 MB / 1.157 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002871/1.402, allocations: 43.95 kB / 1.157 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007744/1.41, allocations: 3.096 MB / 1.16 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.41, allocations: 4 kB / 1.16 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03845/1.448, allocations: 5.447 MB / 1.166 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.449, allocations: 499.2 kB / 1.166 GB, free: 12.28 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005028/1.45, allocations: 12 kB / 1.166 GB, free: 12.27 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003368/1.453, allocations: 239.6 kB / 1.166 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/1.453, allocations: 44.59 kB / 1.166 GB, free: 11.99 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/1.454, allocations: 47.95 kB / 1.166 GB, free: 11.94 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001503/1.455, allocations: 0.7645 MB / 1.167 GB, free: 11.17 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/1.455, allocations: 0 / 1.167 GB, free: 11.17 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002995/1.458, allocations: 0.7139 MB / 1.168 GB, free: 10.45 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,51)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005656/1.459, allocations: 191.8 kB / 1.168 GB, free: 10.25 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02512/1.484, allocations: 6.351 MB / 1.174 GB, free: 3.887 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.484, allocations: 0 / 1.174 GB, free: 3.887 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.006363/1.49, allocations: 1.63 MB / 1.176 GB, free: 2.258 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/1.492, allocations: 262.2 kB / 1.176 GB, free: 2.004 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00928/1.502, allocations: 3.821 MB / 1.18 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009348/1.502, allocations: 1.257 MB / 1.181 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008533/1.503, allocations: 131.3 kB / 1.181 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of SimCode: time 7.41e-07/1.503, allocations: 8 kB / 1.181 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of Templates: time 0.04382/1.547, allocations: 32.18 MB / 1.213 GB, free: 12.55 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches