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.0009024/0.0009024, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.007567/0.007567, allocations: 171 kB / 16.27 MB, free: 6.324 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.384/2.384, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6734/0.6738, allocations: 142.4 MB / 0.955 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005719/0.6796, allocations: 4.82 MB / 0.9597 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.16/0.8397, allocations: 147.1 MB / 1.103 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.8407, allocations: 19.88 kB / 1.103 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007533/0.8415, allocations: 154.8 kB / 1.104 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.8436, allocations: 0.5259 MB / 1.104 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.8458, allocations: 0.8701 MB / 1.105 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001942/0.8478, allocations: 1.835 MB / 1.107 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.8489, allocations: 0.8611 MB / 1.108 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006633/0.8496, allocations: 497.6 kB / 1.108 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006434/0.8502, allocations: 0.5829 MB / 1.109 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.8503, allocations: 40 kB / 1.109 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.8514, allocations: 0.4917 MB / 1.109 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.8517, allocations: 298.6 kB / 1.109 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005535/0.8522, allocations: 0.6541 MB / 1.11 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.8542, allocations: 2.203 MB / 1.112 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8543, allocations: 0 / 1.112 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8543, allocations: 4 kB / 1.112 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.8543, allocations: 0 / 1.112 GB, free: 13.73 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.003006/0.8573, allocations: 1.571 MB / 1.114 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.8574, allocations: 12.03 kB / 1.114 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.8674, allocations: 1.575 MB / 1.115 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.8693, allocations: 1.032 MB / 1.116 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-05/0.8694, allocations: 102.6 kB / 1.116 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/0.8696, allocations: 132 kB / 1.117 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005887/0.8755, allocations: 2.326 MB / 1.119 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.8756, allocations: 4 kB / 1.119 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.8757, allocations: 60 kB / 1.119 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.8758, allocations: 32 kB / 1.119 GB, free: 6.727 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008657/0.8844, allocations: 3.206 MB / 1.122 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009524/0.894, allocations: 5.173 MB / 1.127 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009108/0.9031, allocations: 3.158 MB / 1.13 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003786/0.907, allocations: 1.248 MB / 1.131 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00057/0.9075, allocations: 0.6105 MB / 1.132 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004052/0.9116, allocations: 1.559 MB / 1.134 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=133): time 3.166e-06/0.9116, allocations: 0 / 1.134 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133): time 0.01254/0.9242, allocations: 3.965 MB / 1.137 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.958e-05/0.9243, allocations: 201.2 kB / 1.138 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.9255, allocations: 0.8099 MB / 1.138 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.9257, allocations: 57.7 kB / 1.138 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/0.9261, allocations: 0.5084 MB / 1.139 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004082/0.9265, allocations: 437.7 kB / 1.139 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.9267, allocations: 101.7 kB / 1.139 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.9269, allocations: 353.9 kB / 1.14 GB, free: 1 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003585/0.9305, allocations: 1.166 MB / 1.141 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003721/0.9342, allocations: 1.3 MB / 1.142 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007047/0.9412, allocations: 2.286 MB / 1.144 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.9413, allocations: 3.938 kB / 1.144 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.008722/0.95, allocations: 2.706 MB / 1.147 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.9501, allocations: 8 kB / 1.147 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.9501, allocations: 0 / 1.147 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006688/0.9508, allocations: 84.84 kB / 1.147 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002811/0.9536, allocations: 495.3 kB / 1.148 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.9558, allocations: 1.54 MB / 1.149 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/0.9585, allocations: 346.7 kB / 1.149 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/0.9587, allocations: 63.92 kB / 1.15 GB, free: 6.828 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.0007795/0.9595, allocations: 361.7 kB / 1.15 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.9597, allocations: 114.6 kB / 1.15 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009165/0.9689, allocations: 3.118 MB / 1.153 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.9689, allocations: 12 kB / 1.153 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.969, allocations: 4 kB / 1.153 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.969, allocations: 15.84 kB / 1.153 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/0.9712, allocations: 1.796 MB / 1.155 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.9712, allocations: 0 / 1.155 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/0.9738, allocations: 475.3 kB / 1.155 GB, free: 0.8789 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005654/0.9744, allocations: 84.77 kB / 1.155 GB, free: 0.793 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.9745, allocations: 51.94 kB / 1.155 GB, free: 0.7422 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.9764, allocations: 1.571 MB / 1.157 GB, free: 15.04 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.9764, allocations: 0 / 1.157 GB, free: 15.04 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008502/0.9849, allocations: 2.807 MB / 1.16 GB, free: 12.2 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008515/0.9858, allocations: 483 kB / 1.16 GB, free: 11.71 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.986, allocations: 35.88 kB / 1.16 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002235/0.9883, allocations: 307.7 kB / 1.16 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.9885, allocations: 97.17 kB / 1.161 GB, free: 11.28 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/0.9886, allocations: 63.92 kB / 1.161 GB, free: 11.22 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008052/0.9894, allocations: 0.581 MB / 1.161 GB, free: 10.64 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9894, allocations: 0 / 1.161 GB, free: 10.64 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001283/0.9907, allocations: 0.495 MB / 1.162 GB, free: 10.14 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.001496/0.9922, allocations: 0.6442 MB / 1.162 GB, free: 9.672 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.008141/1, allocations: 2.75 MB / 1.165 GB, free: 6.906 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1, allocations: 0 / 1.165 GB, free: 6.906 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.004188/1.005, allocations: 1.509 MB / 1.166 GB, free: 5.387 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/1.006, allocations: 317.9 kB / 1.167 GB, free: 5.09 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008381/1.015, allocations: 3.929 MB / 1.171 GB, free: 1.133 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007724/1.016, allocations: 1.191 MB / 1.172 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001934/1.017, allocations: 481.3 kB / 1.172 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006548/1.018, allocations: 167.3 kB / 1.172 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of SimCode: time 8.71e-07/1.018, allocations: 4 kB / 1.172 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of Templates: time 0.03651/1.055, allocations: 22.47 MB / 1.194 GB, free: 8.949 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches