Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 103.2 kB / 15.98 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 189.4 kB / 16.91 MB, free: 5.746 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.452/1.452, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.396/2.396, allocations: 390.2 MB / 0.665 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 63.91 kB / 0.8127 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7335/0.735, allocations: 140.3 MB / 0.9498 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005779/0.7408, allocations: 5.252 MB / 0.9549 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1625/0.9033, allocations: 149.2 MB / 1.101 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.9045, allocations: 19.88 kB / 1.101 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009012/0.9055, allocations: 154.8 kB / 1.101 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002374/0.9079, allocations: 0.5479 MB / 1.101 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.9104, allocations: 0.8902 MB / 1.102 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002292/0.9127, allocations: 1.882 MB / 1.104 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.9141, allocations: 0.8987 MB / 1.105 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.9153, allocations: 0.7124 MB / 1.106 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.9164, allocations: 0.7897 MB / 1.106 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004355/0.9168, allocations: 192 kB / 1.107 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.9182, allocations: 0.6401 MB / 1.107 GB, free: 236 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006544/0.9189, allocations: 482.6 kB / 1.108 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.9201, allocations: 0.8201 MB / 1.108 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002244/0.9224, allocations: 1.836 MB / 1.11 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.9224, allocations: 0 / 1.11 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9224, allocations: 0 / 1.11 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.793e-05/0.9225, allocations: 4 kB / 1.11 GB, free: 13.09 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003997/0.9265, allocations: 1.879 MB / 1.112 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.9266, allocations: 16.03 kB / 1.112 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009344/0.9359, allocations: 1.282 MB / 1.113 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.9376, allocations: 1.039 MB / 1.114 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.66e-05/0.9377, allocations: 98.67 kB / 1.114 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/0.938, allocations: 132 kB / 1.115 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005519/0.9435, allocations: 2.201 MB / 1.117 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.9435, allocations: 0 / 1.117 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/0.9437, allocations: 60 kB / 1.117 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.9438, allocations: 32 kB / 1.117 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0079/0.9517, allocations: 2.964 MB / 1.12 GB, free: 3.215 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009531/0.9612, allocations: 5.079 MB / 1.125 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008264/0.9695, allocations: 2.884 MB / 1.127 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003111/0.9726, allocations: 1.133 MB / 1.129 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005783/0.9732, allocations: 0.6066 MB / 1.129 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003631/0.9769, allocations: 1.45 MB / 1.131 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=133): time 3.386e-06/0.9769, allocations: 0 / 1.131 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133): time 0.01122/0.9881, allocations: 3.621 MB / 1.134 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.9882, allocations: 193.2 kB / 1.134 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.9895, allocations: 0.8138 MB / 1.135 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.9896, allocations: 57.69 kB / 1.135 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004283/0.9901, allocations: 0.5084 MB / 1.136 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004081/0.9905, allocations: 433.7 kB / 1.136 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005491/0.991, allocations: 270.7 kB / 1.136 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.9912, allocations: 353.9 kB / 1.137 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003202/0.9944, allocations: 1.049 MB / 1.138 GB, free: 448 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003318/0.9977, allocations: 1.187 MB / 1.139 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006182/1.004, allocations: 2.056 MB / 1.141 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/1.004, allocations: 3.938 kB / 1.141 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007681/1.012, allocations: 2.483 MB / 1.143 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/1.012, allocations: 4 kB / 1.143 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.012, allocations: 0 / 1.143 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006378/1.012, allocations: 84.84 kB / 1.143 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002469/1.015, allocations: 427.3 kB / 1.144 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/1.017, allocations: 1.654 MB / 1.145 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/1.019, allocations: 282.7 kB / 1.146 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/1.019, allocations: 67.92 kB / 1.146 GB, free: 8.008 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 150 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007425/1.02, allocations: 347.8 kB / 1.146 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000359/1.021, allocations: 118.5 kB / 1.146 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008343/1.029, allocations: 2.891 MB / 1.149 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/1.029, allocations: 12 kB / 1.149 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.029, allocations: 0 / 1.149 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/1.029, allocations: 11.91 kB / 1.149 GB, free: 4.613 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/1.031, allocations: 1.808 MB / 1.151 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.031, allocations: 0 / 1.151 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002421/1.034, allocations: 415.3 kB / 1.151 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00049/1.034, allocations: 72.8 kB / 1.151 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/1.034, allocations: 55.92 kB / 1.151 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/1.036, allocations: 1.674 MB / 1.153 GB, free: 408 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.036, allocations: 8 kB / 1.153 GB, free: 400 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007723/1.044, allocations: 2.58 MB / 1.155 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008661/1.045, allocations: 463.1 kB / 1.156 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003088/1.045, allocations: 39.86 kB / 1.156 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/1.048, allocations: 228.7 kB / 1.156 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/1.048, allocations: 109.2 kB / 1.156 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.048, allocations: 59.94 kB / 1.156 GB, free: 12.89 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000887/1.049, allocations: 0.581 MB / 1.157 GB, free: 12.31 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.106e-06/1.049, allocations: 4 kB / 1.157 GB, free: 12.31 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001475/1.05, allocations: 0.4911 MB / 1.157 GB, free: 11.82 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00163/1.052, allocations: 0.639 MB / 1.158 GB, free: 11.35 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.009321/1.061, allocations: 3.101 MB / 1.161 GB, free: 8.234 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.061, allocations: 0 / 1.161 GB, free: 8.234 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003896/1.065, allocations: 1.403 MB / 1.162 GB, free: 6.82 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/1.067, allocations: 338.5 kB / 1.163 GB, free: 6.516 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008524/1.076, allocations: 3.809 MB / 1.166 GB, free: 2.668 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009898/1.077, allocations: 1.187 MB / 1.168 GB, free: 1.449 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/1.078, allocations: 203.2 kB / 1.168 GB, free: 1.25 MB / 0.92 GB Notification: Performance of SimCode: time 1.764e-06/1.078, allocations: 0 / 1.168 GB, free: 1.25 MB / 0.92 GB Notification: Performance of Templates: time 0.04475/1.122, allocations: 30.42 MB / 1.198 GB, free: 2.898 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches