Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007567/0.007567, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001829/0.001829, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.328/2.328, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 59.72 kB / 0.9508 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2642, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006629/0.2709, allocations: 5.087 MB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1735/0.4444, allocations: 151.2 MB / 1.241 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.4458, allocations: 23.88 kB / 1.241 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000961/0.4468, allocations: 190.1 kB / 1.241 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.4495, allocations: 0.5994 MB / 1.241 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002654/0.4522, allocations: 0.9759 MB / 1.242 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002089/0.4543, allocations: 1.789 MB / 1.244 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.4554, allocations: 0.8063 MB / 1.245 GB, free: 140 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000935/0.4563, allocations: 0.6697 MB / 1.246 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008108/0.4571, allocations: 0.7119 MB / 1.246 GB, free: 14.75 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.4574, allocations: 164 kB / 1.246 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.4586, allocations: 0.6362 MB / 1.247 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003939/0.459, allocations: 442.6 kB / 1.247 GB, free: 13.52 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006844/0.4597, allocations: 0.7462 MB / 1.248 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.4624, allocations: 2.173 MB / 1.25 GB, free: 10.59 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.4624, allocations: 0 / 1.25 GB, free: 10.59 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4624, allocations: 4 kB / 1.25 GB, free: 10.59 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.583e-05/0.4625, allocations: 4 kB / 1.25 GB, free: 10.58 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003408/0.4659, allocations: 1.787 MB / 1.252 GB, free: 8.734 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4659, allocations: 8.031 kB / 1.252 GB, free: 8.727 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008449/0.4744, allocations: 1.275 MB / 1.253 GB, free: 7.449 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.4765, allocations: 0.9847 MB / 1.254 GB, free: 6.418 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.263e-05/0.4765, allocations: 86.45 kB / 1.254 GB, free: 6.332 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.4768, allocations: 120 kB / 1.254 GB, free: 6.215 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004927/0.4817, allocations: 2.037 MB / 1.256 GB, free: 4.113 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.4818, allocations: 0 / 1.256 GB, free: 4.113 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.4819, allocations: 56 kB / 1.256 GB, free: 4.059 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.482, allocations: 32 kB / 1.257 GB, free: 4.027 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007022/0.489, allocations: 2.756 MB / 1.259 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6548/1.144, allocations: 4.426 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00816/1.152, allocations: 2.734 MB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00312/1.155, allocations: 1.045 MB / 1.267 GB, free: 170.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004654/1.156, allocations: 0.6047 MB / 1.268 GB, free: 170.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003655/1.159, allocations: 1.359 MB / 1.269 GB, free: 169.9 MB / 1.014 GB Notification: Performance of pre-optimization done (n=132): time 2.755e-06/1.159, allocations: 0 / 1.269 GB, free: 169.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=132): time 0.01186/1.171, allocations: 3.382 MB / 1.272 GB, free: 168.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.243e-05/1.171, allocations: 200.4 kB / 1.273 GB, free: 168.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/1.173, allocations: 0.776 MB / 1.273 GB, free: 168.4 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/1.173, allocations: 52.11 kB / 1.273 GB, free: 168.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/1.173, allocations: 479.5 kB / 1.274 GB, free: 168 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003405/1.173, allocations: 433.4 kB / 1.274 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005547/1.174, allocations: 274.2 kB / 1.275 GB, free: 167.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.174, allocations: 351.7 kB / 1.275 GB, free: 167.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002902/1.177, allocations: 0.9657 MB / 1.276 GB, free: 167 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003458/1.181, allocations: 1.096 MB / 1.277 GB, free: 166.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005668/1.186, allocations: 1.922 MB / 1.279 GB, free: 166 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-06/1.186, allocations: 1.219 kB / 1.279 GB, free: 166 MB / 1.014 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00727/1.193, allocations: 2.32 MB / 1.281 GB, free: 165.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/1.194, allocations: 10.22 kB / 1.281 GB, free: 165.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.194, allocations: 1.344 kB / 1.281 GB, free: 165.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006434/1.194, allocations: 81.28 kB / 1.281 GB, free: 165.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/1.197, allocations: 436.7 kB / 1.282 GB, free: 165.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/1.199, allocations: 1.655 MB / 1.283 GB, free: 163.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/1.201, allocations: 278.5 kB / 1.283 GB, free: 163.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/1.201, allocations: 67.22 kB / 1.284 GB, free: 163.6 MB / 1.014 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,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,incAng.decAng.tNext,$PRE.incAng.decAng.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 (150): * Single equations (assignments): 149 * 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.0009173/1.202, allocations: 337.2 kB / 1.284 GB, free: 163.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/1.202, allocations: 111.3 kB / 1.284 GB, free: 163.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008352/1.211, allocations: 2.719 MB / 1.287 GB, free: 162.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/1.211, allocations: 14.91 kB / 1.287 GB, free: 162.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.211, allocations: 0 / 1.287 GB, free: 162.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/1.211, allocations: 12.75 kB / 1.287 GB, free: 162.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009402/1.22, allocations: 4.302 MB / 1.291 GB, free: 160.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/1.22, allocations: 0 / 1.291 GB, free: 160.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/1.222, allocations: 410.7 kB / 1.291 GB, free: 160.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004229/1.223, allocations: 82.39 kB / 1.291 GB, free: 160.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/1.223, allocations: 51.03 kB / 1.291 GB, free: 160.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/1.225, allocations: 1.671 MB / 1.293 GB, free: 158.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/1.225, allocations: 0 / 1.293 GB, free: 158.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006855/1.231, allocations: 2.484 MB / 1.295 GB, free: 157.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007192/1.232, allocations: 429.1 kB / 1.296 GB, free: 157.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/1.232, allocations: 32.52 kB / 1.296 GB, free: 157.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/1.234, allocations: 231.4 kB / 1.296 GB, free: 157 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/1.234, allocations: 105.8 kB / 1.296 GB, free: 157 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/1.235, allocations: 64.53 kB / 1.296 GB, free: 156.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007826/1.235, allocations: 0.5522 MB / 1.297 GB, free: 156.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.51e-07/1.235, allocations: 0 / 1.297 GB, free: 156.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001478/1.237, allocations: 488 kB / 1.297 GB, free: 156.5 MB / 1.014 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * 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.00149/1.238, allocations: 0.6465 MB / 1.298 GB, free: 156.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006689/1.245, allocations: 2.354 MB / 1.3 GB, free: 155.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.245, allocations: 1.438 kB / 1.3 GB, free: 155.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00325/1.248, allocations: 1.31 MB / 1.301 GB, free: 154.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/1.25, allocations: 329.4 kB / 1.302 GB, free: 154.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006444/1.256, allocations: 2.921 MB / 1.305 GB, free: 152.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006537/1.257, allocations: 1.154 MB / 1.306 GB, free: 151.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001384/1.258, allocations: 489 kB / 1.306 GB, free: 151.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005566/1.259, allocations: 163.8 kB / 1.306 GB, free: 151.4 MB / 1.014 GB Notification: Performance of SimCode: time 8.01e-07/1.259, allocations: 0 / 1.306 GB, free: 151.4 MB / 1.014 GB Notification: Performance of Templates: time 0.02917/1.288, allocations: 22.84 MB / 1.329 GB, free: 130.9 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches