Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001397/0.001397, allocations: 108 kB / 15.6 MB, free: 132 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.001415/0.001415, allocations: 192.2 kB / 16.53 MB, free: 6.391 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.536/1.536, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.999/2.999, allocations: 482.6 MB / 0.7549 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 71.25 kB / 0.9241 GB, free: 29.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3745, allocations: 162.3 MB / 1.083 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.01058/0.3851, allocations: 6.24 MB / 1.089 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.2061/0.5913, allocations: 151.6 MB / 1.237 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.5928, allocations: 23.88 kB / 1.237 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008392/0.5937, allocations: 229.8 kB / 1.237 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002754/0.5965, allocations: 0.6937 MB / 1.238 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.5994, allocations: 1.003 MB / 1.239 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003085/0.6025, allocations: 2.045 MB / 1.241 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.6041, allocations: 0.8602 MB / 1.241 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.6058, allocations: 0.732 MB / 1.242 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.607, allocations: 0.7937 MB / 1.243 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003074/0.6073, allocations: 192 kB / 1.243 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.609, allocations: 0.6402 MB / 1.244 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000536/0.6095, allocations: 482.6 kB / 1.244 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009908/0.6105, allocations: 0.8514 MB / 1.245 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003491/0.614, allocations: 2.415 MB / 1.247 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.614, allocations: 0 / 1.247 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6141, allocations: 0 / 1.247 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.146e-05/0.6141, allocations: 0 / 1.247 GB, free: 3.555 MB / 0.9981 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.004284/0.6184, allocations: 1.91 MB / 1.249 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.6185, allocations: 12.03 kB / 1.249 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009283/0.6277, allocations: 1.294 MB / 1.25 GB, free: 284 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7955/1.423, allocations: 1.021 MB / 1.251 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/1.424, allocations: 98.33 kB / 1.252 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003767/1.424, allocations: 130 kB / 1.252 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007261/1.431, allocations: 2.214 MB / 1.254 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/1.431, allocations: 0.75 kB / 1.254 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001982/1.431, allocations: 57.97 kB / 1.254 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-05/1.431, allocations: 36.5 kB / 1.254 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009716/1.441, allocations: 2.967 MB / 1.257 GB, free: 171 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/1.454, allocations: 5.55 MB / 1.262 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008806/1.462, allocations: 2.878 MB / 1.265 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003544/1.466, allocations: 1.124 MB / 1.266 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005735/1.467, allocations: 0.6152 MB / 1.267 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00433/1.471, allocations: 1.447 MB / 1.268 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 5.14e-06/1.471, allocations: 0 / 1.268 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01205/1.483, allocations: 3.622 MB / 1.272 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.127e-05/1.483, allocations: 201.4 kB / 1.272 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/1.485, allocations: 0.8148 MB / 1.273 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002419/1.485, allocations: 49.08 kB / 1.273 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004124/1.485, allocations: 0.5091 MB / 1.273 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004248/1.486, allocations: 436.5 kB / 1.274 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005525/1.486, allocations: 268.2 kB / 1.274 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.813e-05/1.486, allocations: 357 kB / 1.274 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003658/1.49, allocations: 1.059 MB / 1.275 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003695/1.494, allocations: 1.191 MB / 1.276 GB, free: 162 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00678/1.501, allocations: 2.062 MB / 1.278 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/1.501, allocations: 1.5 kB / 1.278 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.00812/1.509, allocations: 2.477 MB / 1.281 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/1.509, allocations: 4.625 kB / 1.281 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/1.509, allocations: 4.172 kB / 1.281 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006001/1.509, allocations: 91.05 kB / 1.281 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/1.512, allocations: 434.9 kB / 1.281 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/1.514, allocations: 1.645 MB / 1.283 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/1.516, allocations: 285.8 kB / 1.283 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/1.516, allocations: 69.17 kB / 1.283 GB, free: 158.5 MB / 0.9981 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.0008314/1.517, allocations: 356.9 kB / 1.284 GB, free: 158.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003304/1.518, allocations: 117.9 kB / 1.284 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008359/1.526, allocations: 2.882 MB / 1.287 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/1.526, allocations: 15.12 kB / 1.287 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.526, allocations: 3.938 kB / 1.287 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.526, allocations: 7.969 kB / 1.287 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/1.528, allocations: 1.808 MB / 1.288 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/1.528, allocations: 5.109 kB / 1.288 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002278/1.531, allocations: 411.2 kB / 1.289 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004728/1.531, allocations: 68.42 kB / 1.289 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001693/1.531, allocations: 53.81 kB / 1.289 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/1.533, allocations: 1.681 MB / 1.291 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.533, allocations: 0 / 1.291 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008059/1.541, allocations: 2.577 MB / 1.293 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009036/1.542, allocations: 463.7 kB / 1.294 GB, free: 151.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/1.542, allocations: 35.19 kB / 1.294 GB, free: 151.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/1.544, allocations: 227.2 kB / 1.294 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/1.545, allocations: 110.6 kB / 1.294 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/1.545, allocations: 61.91 kB / 1.294 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000829/1.546, allocations: 0.5851 MB / 1.295 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.546, allocations: 0 / 1.295 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001556/1.547, allocations: 0.5088 MB / 1.295 GB, free: 151.1 MB / 0.9981 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.001991/1.549, allocations: 0.6532 MB / 1.296 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009784/1.559, allocations: 3.108 MB / 1.299 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.559, allocations: 5.188 kB / 1.299 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003949/1.563, allocations: 1.398 MB / 1.3 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/1.565, allocations: 345.9 kB / 1.3 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/1.571, allocations: 3.049 MB / 1.303 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/1.572, allocations: 1.196 MB / 1.305 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001792/1.574, allocations: 486.2 kB / 1.305 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005789/1.574, allocations: 173.4 kB / 1.305 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.413e-06/1.574, allocations: 0 / 1.305 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03515/1.61, allocations: 24.34 MB / 1.329 GB, free: 122.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches