Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009027/0.0009027, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 165.4 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9213/0.9213, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.842/1.842, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 3.938 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.465e-05, allocations: 5.266 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1428/0.1428, allocations: 147.7 MB / 0.9042 GB, free: 2.625 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009106/0.1519, allocations: 8.957 MB / 0.913 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004822/0.1524, allocations: 27.81 kB / 0.913 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006208/0.153, allocations: 277.5 kB / 0.9133 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.1549, allocations: 1.041 MB / 0.9143 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.1566, allocations: 1.11 MB / 0.9154 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001342/0.1579, allocations: 1.806 MB / 0.9171 GB, free: 5.367 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009098/0.1588, allocations: 0.9947 MB / 0.9181 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.1602, allocations: 1.115 MB / 0.9192 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004794/0.1607, allocations: 490.5 kB / 0.9196 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.1608, allocations: 132 kB / 0.9198 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.162, allocations: 1.002 MB / 0.9208 GB, free: 1.641 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002348/0.1622, allocations: 394.7 kB / 0.9211 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.1625, allocations: 458.8 kB / 0.9216 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.1642, allocations: 1.802 MB / 0.9233 GB, free: 15 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1642, allocations: 4 kB / 0.9233 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1642, allocations: 0 / 0.9233 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.1642, allocations: 0 / 0.9233 GB, free: 14.99 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001574/0.1658, allocations: 1.643 MB / 0.9249 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.1658, allocations: 12.03 kB / 0.9249 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.1669, allocations: 414.8 kB / 0.9253 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007578/0.1676, allocations: 0.679 MB / 0.926 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.1677, allocations: 74 kB / 0.9261 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-05/0.1678, allocations: 104 kB / 0.9262 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008365/0.1686, allocations: 1.105 MB / 0.9273 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.1686, allocations: 3.984 kB / 0.9273 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.642e-05/0.1687, allocations: 43.98 kB / 0.9273 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.1687, allocations: 31.88 kB / 0.9273 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006618/0.1693, allocations: 0.6366 MB / 0.928 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002306/0.1717, allocations: 1.878 MB / 0.9298 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005963/0.1722, allocations: 0.5228 MB / 0.9303 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.1724, allocations: 171.1 kB / 0.9305 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.1725, allocations: 64.94 kB / 0.9305 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005489/0.1731, allocations: 0.6314 MB / 0.9311 GB, free: 6.688 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=103): time 2.054e-06/0.1731, allocations: 4 kB / 0.9311 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of matching and sorting (n=103): time 0.001226/0.1743, allocations: 0.7173 MB / 0.9318 GB, free: 5.957 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.1744, allocations: 200.9 kB / 0.932 GB, free: 5.719 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004104/0.1748, allocations: 0.6108 MB / 0.9326 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.1749, allocations: 49.7 kB / 0.9327 GB, free: 5.039 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.175, allocations: 371.3 kB / 0.933 GB, free: 4.668 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.1752, allocations: 353 kB / 0.9334 GB, free: 4.32 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.1754, allocations: 190.5 kB / 0.9336 GB, free: 4.129 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.1755, allocations: 353.8 kB / 0.9339 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.1756, allocations: 104.8 kB / 0.934 GB, free: 3.672 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005148/0.1762, allocations: 404.7 kB / 0.9344 GB, free: 3.211 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/0.1765, allocations: 377.2 kB / 0.9347 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1765, allocations: 0 / 0.9347 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0007189/0.1773, allocations: 0.5348 MB / 0.9353 GB, free: 2.281 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1773, allocations: 8 kB / 0.9353 GB, free: 2.273 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1773, allocations: 0 / 0.9353 GB, free: 2.273 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004349/0.1777, allocations: 157.6 kB / 0.9354 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.1782, allocations: 211.7 kB / 0.9356 GB, free: 1.906 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.1795, allocations: 2.506 MB / 0.9381 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.1798, allocations: 95.47 kB / 0.9382 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.1799, allocations: 27.97 kB / 0.9382 GB, free: 15.11 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001933/0.1801, allocations: 183.1 kB / 0.9384 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.1802, allocations: 95.91 kB / 0.9384 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008679/0.181, allocations: 0.7105 MB / 0.9391 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.181, allocations: 15.98 kB / 0.9392 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.1811, allocations: 3.984 kB / 0.9392 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.1811, allocations: 11.98 kB / 0.9392 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.1826, allocations: 1.379 MB / 0.9405 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1826, allocations: 0 / 0.9405 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.1829, allocations: 183.7 kB / 0.9407 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003497/0.1833, allocations: 145.6 kB / 0.9408 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.1833, allocations: 23.98 kB / 0.9409 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.1848, allocations: 2.508 MB / 0.9433 GB, free: 9.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1848, allocations: 0 / 0.9433 GB, free: 9.59 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007133/0.1855, allocations: 0.7074 MB / 0.944 GB, free: 8.863 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.1857, allocations: 171 kB / 0.9442 GB, free: 8.695 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.951e-05/0.1858, allocations: 23.98 kB / 0.9442 GB, free: 8.672 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.1861, allocations: 56.03 kB / 0.9442 GB, free: 8.617 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1862, allocations: 84.77 kB / 0.9443 GB, free: 8.535 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-05/0.1862, allocations: 31.97 kB / 0.9443 GB, free: 8.504 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002256/0.1864, allocations: 307.3 kB / 0.9446 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1864, allocations: 0 / 0.9446 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000681/0.1871, allocations: 474.8 kB / 0.9451 GB, free: 7.742 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001567/0.1887, allocations: 0.8701 MB / 0.9459 GB, free: 7.141 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007079/0.1894, allocations: 0.6914 MB / 0.9466 GB, free: 6.422 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.1894, allocations: 12 kB / 0.9466 GB, free: 6.41 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003987/0.1898, allocations: 0.517 MB / 0.9471 GB, free: 5.863 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.1905, allocations: 384.2 kB / 0.9475 GB, free: 5.504 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.1928, allocations: 1.839 MB / 0.9493 GB, free: 3.625 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.193, allocations: 239.9 kB / 0.9495 GB, free: 3.363 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004468/0.1934, allocations: 219.8 kB / 0.9497 GB, free: 3.145 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006222/0.194, allocations: 376.9 kB / 0.9501 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of SimCode: time 4.71e-07/0.194, allocations: 0 / 0.9501 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of Templates: time 0.023/0.217, allocations: 22.49 MB / 0.9721 GB, free: 12.69 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.803299606312066]