Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_latest_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_latest_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.0008663/0.0008664, allocations: 97.64 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.00521/0.005211, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.007/3.007, allocations: 483.2 MB / 0.7564 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003762, allocations: 12.17 kB / 0.9276 GB, free: 29.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3412, allocations: 164.5 MB / 1.088 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007525/0.3488, allocations: 5.385 MB / 1.093 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.183/0.5318, allocations: 147 MB / 1.237 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008834/0.5328, allocations: 15.88 kB / 1.237 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006101/0.5334, allocations: 170.7 kB / 1.237 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.5352, allocations: 0.5553 MB / 1.238 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002326/0.5375, allocations: 0.8533 MB / 1.239 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002148/0.5397, allocations: 1.858 MB / 1.24 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.5409, allocations: 0.7355 MB / 1.241 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.542, allocations: 0.49 MB / 1.242 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008589/0.5428, allocations: 0.5792 MB / 1.242 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.543, allocations: 40 kB / 1.242 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.5441, allocations: 0.4995 MB / 1.243 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003426/0.5445, allocations: 294.7 kB / 1.243 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006743/0.5452, allocations: 0.6385 MB / 1.244 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.5476, allocations: 2.02 MB / 1.246 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5476, allocations: 0 / 1.246 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5476, allocations: 0 / 1.246 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.04e-05/0.5476, allocations: 4 kB / 1.246 GB, free: 8.426 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003319/0.5509, allocations: 1.536 MB / 1.247 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.551, allocations: 8.031 kB / 1.247 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.561, allocations: 1.571 MB / 1.249 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/0.5631, allocations: 0.9575 MB / 1.25 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.282e-05/0.5632, allocations: 86.45 kB / 1.25 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/0.5634, allocations: 120 kB / 1.25 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005648/0.5691, allocations: 2.159 MB / 1.252 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.5691, allocations: 0 / 1.252 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.5693, allocations: 60 kB / 1.252 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.052e-05/0.5694, allocations: 32 kB / 1.252 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7286/1.298, allocations: 3.002 MB / 1.255 GB, free: 24.12 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/1.309, allocations: 4.914 MB / 1.26 GB, free: 22.83 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009366/1.318, allocations: 3.021 MB / 1.263 GB, free: 22.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003721/1.322, allocations: 1.155 MB / 1.264 GB, free: 22.65 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005118/1.322, allocations: 0.6148 MB / 1.264 GB, free: 21.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004466/1.327, allocations: 1.471 MB / 1.266 GB, free: 21.88 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 3.878e-06/1.327, allocations: 0 / 1.266 GB, free: 21.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01295/1.34, allocations: 3.723 MB / 1.269 GB, free: 21.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.34, allocations: 199 kB / 1.27 GB, free: 21.36 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/1.341, allocations: 0.7746 MB / 1.27 GB, free: 21.21 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002072/1.342, allocations: 53.77 kB / 1.27 GB, free: 21.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004019/1.342, allocations: 478.8 kB / 1.271 GB, free: 20.97 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003961/1.342, allocations: 427.2 kB / 1.271 GB, free: 20.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/1.343, allocations: 102.2 kB / 1.271 GB, free: 20.69 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.343, allocations: 359.5 kB / 1.272 GB, free: 20.38 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003466/1.346, allocations: 1.073 MB / 1.273 GB, free: 20.36 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003794/1.35, allocations: 1.215 MB / 1.274 GB, free: 20.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007555/1.358, allocations: 2.153 MB / 1.276 GB, free: 20.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/1.358, allocations: 5.062 kB / 1.276 GB, free: 20.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008544/1.366, allocations: 2.546 MB / 1.279 GB, free: 19.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/1.366, allocations: 10.53 kB / 1.279 GB, free: 19.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/1.366, allocations: 4.875 kB / 1.279 GB, free: 19.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006452/1.367, allocations: 92.61 kB / 1.279 GB, free: 19.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/1.37, allocations: 484.6 kB / 1.279 GB, free: 19.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/1.371, allocations: 1.544 MB / 1.281 GB, free: 18.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002623/1.374, allocations: 358.1 kB / 1.281 GB, free: 18.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/1.374, allocations: 66.05 kB / 1.281 GB, free: 18.59 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,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.0007558/1.375, allocations: 331.4 kB / 1.281 GB, free: 18.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/1.375, allocations: 116 kB / 1.282 GB, free: 18.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008917/1.384, allocations: 2.954 MB / 1.284 GB, free: 18.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/1.384, allocations: 17.81 kB / 1.284 GB, free: 18.22 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.384, allocations: 0 / 1.284 GB, free: 18.22 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/1.384, allocations: 8.422 kB / 1.284 GB, free: 18.22 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/1.395, allocations: 4.533 MB / 1.289 GB, free: 17.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/1.395, allocations: 0 / 1.289 GB, free: 17.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002441/1.398, allocations: 472.5 kB / 1.289 GB, free: 17.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005432/1.398, allocations: 84.2 kB / 1.289 GB, free: 17.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/1.398, allocations: 55.89 kB / 1.289 GB, free: 17.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/1.4, allocations: 1.568 MB / 1.291 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.4, allocations: 4.062 kB / 1.291 GB, free: 16.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008095/1.408, allocations: 2.714 MB / 1.294 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008656/1.409, allocations: 440.4 kB / 1.294 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/1.409, allocations: 31.81 kB / 1.294 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002178/1.412, allocations: 309.4 kB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/1.412, allocations: 109.5 kB / 1.294 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/1.412, allocations: 65.81 kB / 1.295 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007917/1.413, allocations: 0.5496 MB / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.413, allocations: 0 / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00158/1.414, allocations: 0.4928 MB / 1.296 GB, free: 15.8 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,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.002107/1.416, allocations: 0.6512 MB / 1.296 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007947/1.424, allocations: 2.582 MB / 1.299 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.424, allocations: 1.375 kB / 1.299 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00403/1.428, allocations: 1.417 MB / 1.3 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/1.43, allocations: 308.9 kB / 1.3 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006556/1.437, allocations: 3.525 MB / 1.304 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006111/1.438, allocations: 1.163 MB / 1.305 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00194/1.44, allocations: 483.7 kB / 1.305 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005895/1.44, allocations: 164.4 kB / 1.306 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of SimCode: time 1.573e-06/1.44, allocations: 0 / 1.306 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of Templates: time 0.03991/1.48, allocations: 22 MB / 1.327 GB, free: 5.629 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches