Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001427/0.001427, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001595/0.001595, allocations: 161.4 kB / 24.16 MB, free: 336 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.9123/0.9123, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.803/1.803, allocations: 377.9 MB / 0.624 GB, free: 8.336 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_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0.6562 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137e-05/1.253e-05, allocations: 10 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1346/0.1346, allocations: 150.2 MB / 0.9067 GB, free: 64 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01698/0.1516, allocations: 15.29 MB / 0.9216 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008833/0.1525, allocations: 39.62 kB / 0.9217 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009122/0.1534, allocations: 400.4 kB / 0.922 GB, free: 296 kB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.156, allocations: 1.328 MB / 0.9233 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.1584, allocations: 1.364 MB / 0.9247 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002454/0.1609, allocations: 2.785 MB / 0.9274 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.1626, allocations: 1.611 MB / 0.929 GB, free: 9.102 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/0.1656, allocations: 1.977 MB / 0.9309 GB, free: 7.266 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008839/0.1665, allocations: 0.7594 MB / 0.9316 GB, free: 6.504 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002627/0.1668, allocations: 204 kB / 0.9318 GB, free: 6.305 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.1679, allocations: 0.928 MB / 0.9327 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.1682, allocations: 0.5762 MB / 0.9333 GB, free: 4.797 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0004803/0.1687, allocations: 0.7053 MB / 0.934 GB, free: 4.09 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.1704, allocations: 2.191 MB / 0.9361 GB, free: 1.891 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1704, allocations: 4 kB / 0.9361 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.634e-06/0.1704, allocations: 0 / 0.9361 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.1704, allocations: 0 / 0.9361 GB, free: 1.887 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.001941/0.1724, allocations: 2.207 MB / 0.9383 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.1724, allocations: 8.031 kB / 0.9383 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.1744, allocations: 0.7866 MB / 0.9391 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009934/0.1754, allocations: 0.8695 MB / 0.9399 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.749e-05/0.1754, allocations: 131.5 kB / 0.94 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.1756, allocations: 184 kB / 0.9402 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.1769, allocations: 1.992 MB / 0.9422 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.177, allocations: 7.938 kB / 0.9422 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.624e-05/0.1771, allocations: 79.98 kB / 0.9422 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.1771, allocations: 40 kB / 0.9423 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009155/0.178, allocations: 0.8753 MB / 0.9431 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003356/0.1814, allocations: 2.944 MB / 0.946 GB, free: 7.383 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007958/0.1822, allocations: 0.6807 MB / 0.9467 GB, free: 6.703 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.1825, allocations: 283.6 kB / 0.9469 GB, free: 6.426 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003513/0.1828, allocations: 129.2 kB / 0.9471 GB, free: 6.301 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007334/0.1835, allocations: 1.186 MB / 0.9482 GB, free: 4.949 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=154): time 2.465e-06/0.1835, allocations: 0 / 0.9482 GB, free: 4.949 MB / 0.9011 GB Notification: Performance of matching and sorting (n=154): time 0.001809/0.1854, allocations: 1.115 MB / 0.9493 GB, free: 3.812 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.1854, allocations: 209.2 kB / 0.9495 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.1859, allocations: 0.6458 MB / 0.9501 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.123e-05/0.186, allocations: 61.7 kB / 0.9502 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.1862, allocations: 0.562 MB / 0.9508 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/0.1866, allocations: 0.5189 MB / 0.9513 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.1868, allocations: 255.4 kB / 0.9515 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.818e-05/0.1869, allocations: 365.8 kB / 0.9518 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.1871, allocations: 166.7 kB / 0.952 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.1874, allocations: 422.5 kB / 0.9524 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005615/0.188, allocations: 0.5608 MB / 0.953 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.188, allocations: 0 / 0.953 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001012/0.189, allocations: 0.8007 MB / 0.9537 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.189, allocations: 8 kB / 0.9537 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.189, allocations: 7.938 kB / 0.9538 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005496/0.1896, allocations: 236 kB / 0.954 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/0.1903, allocations: 335.5 kB / 0.9543 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.193, allocations: 6.035 MB / 0.9602 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.1934, allocations: 123.2 kB / 0.9603 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.173e-05/0.1935, allocations: 39.97 kB / 0.9604 GB, free: 7.891 MB / 0.9167 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 (169): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002765/0.1938, allocations: 207.2 kB / 0.9605 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.1939, allocations: 139.9 kB / 0.9607 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.1952, allocations: 1.034 MB / 0.9617 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.1952, allocations: 16 kB / 0.9617 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1952, allocations: 0 / 0.9617 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.1952, allocations: 11.97 kB / 0.9617 GB, free: 6.457 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.1974, allocations: 1.881 MB / 0.9636 GB, free: 4.516 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1974, allocations: 0 / 0.9636 GB, free: 4.516 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006186/0.198, allocations: 287.6 kB / 0.9638 GB, free: 4.234 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/0.1985, allocations: 220.1 kB / 0.964 GB, free: 4.004 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/0.1985, allocations: 39.91 kB / 0.9641 GB, free: 3.965 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/0.201, allocations: 6.05 MB / 0.97 GB, free: 13.47 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.201, allocations: 0 / 0.97 GB, free: 13.47 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.202, allocations: 0.9316 MB / 0.9709 GB, free: 12.51 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/0.2023, allocations: 234.7 kB / 0.9711 GB, free: 12.28 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.2024, allocations: 31.95 kB / 0.9712 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.2028, allocations: 71.86 kB / 0.9712 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.2029, allocations: 121.7 kB / 0.9713 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-05/0.203, allocations: 51.95 kB / 0.9714 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002388/0.2032, allocations: 323.3 kB / 0.9717 GB, free: 11.69 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.2032, allocations: 0 / 0.9717 GB, free: 11.69 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009095/0.2041, allocations: 0.6389 MB / 0.9723 GB, free: 11.05 MB / 0.9323 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 (157): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.001628/0.2058, allocations: 0.8658 MB / 0.9732 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.2068, allocations: 1.261 MB / 0.9744 GB, free: 9.117 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.2069, allocations: 8.891 kB / 0.9744 GB, free: 9.109 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006704/0.2075, allocations: 1.005 MB / 0.9754 GB, free: 8.043 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.2086, allocations: 0.5476 MB / 0.9759 GB, free: 7.52 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.2114, allocations: 2.562 MB / 0.9784 GB, free: 4.918 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.2115, allocations: 318.3 kB / 0.9787 GB, free: 4.582 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006798/0.2122, allocations: 314.3 kB / 0.979 GB, free: 4.27 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009755/0.2132, allocations: 0.5379 MB / 0.9795 GB, free: 3.727 MB / 0.9323 GB Notification: Performance of SimCode: time 5.61e-07/0.2132, allocations: 0 / 0.9795 GB, free: 3.727 MB / 0.9323 GB Notification: Performance of Templates: time 0.0312/0.2444, allocations: 30.46 MB / 1.009 GB, free: 5.828 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.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: 6.0681166891008615]