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.0009892/0.0009892, allocations: 80.92 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.001221/0.001221, allocations: 161 kB / 24.17 MB, free: 332 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.9587/0.9587, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.945/1.945, allocations: 377.9 MB / 0.624 GB, free: 8.359 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.112e-06/1.112e-06, allocations: 0 / 0.7601 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.163e-05, allocations: 7.375 kB / 0.7601 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1375/0.1375, allocations: 150.2 MB / 0.9068 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.1537, allocations: 15.3 MB / 0.9217 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.1549, allocations: 39.69 kB / 0.9217 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.1562, allocations: 404.4 kB / 0.9221 GB, free: 216 kB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.1595, allocations: 1.304 MB / 0.9234 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.1622, allocations: 1.332 MB / 0.9247 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002741/0.1649, allocations: 2.785 MB / 0.9274 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003155/0.1681, allocations: 1.87 MB / 0.9293 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00258/0.1706, allocations: 1.774 MB / 0.931 GB, free: 7.219 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009241/0.1716, allocations: 0.7555 MB / 0.9317 GB, free: 6.461 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002814/0.1718, allocations: 207.9 kB / 0.9319 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.1734, allocations: 0.9633 MB / 0.9329 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003499/0.1737, allocations: 0.5763 MB / 0.9334 GB, free: 4.715 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0006426/0.1744, allocations: 0.7092 MB / 0.9341 GB, free: 4.004 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002524/0.1769, allocations: 2.191 MB / 0.9363 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1769, allocations: 0 / 0.9363 GB, free: 1.805 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1769, allocations: 4 kB / 0.9363 GB, free: 1.801 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.41e-05/0.1769, allocations: 3.938 kB / 0.9363 GB, free: 1.797 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.002531/0.1795, allocations: 2.207 MB / 0.9384 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1795, allocations: 8.031 kB / 0.9384 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/0.1818, allocations: 0.7828 MB / 0.9392 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.1831, allocations: 0.8694 MB / 0.94 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.593e-05/0.1831, allocations: 139.4 kB / 0.9402 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.1833, allocations: 184 kB / 0.9404 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.1849, allocations: 1.992 MB / 0.9423 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.1849, allocations: 0 / 0.9423 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/0.185, allocations: 75.98 kB / 0.9424 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.185, allocations: 47.98 kB / 0.9424 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.1863, allocations: 0.8714 MB / 0.9433 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003875/0.1902, allocations: 2.948 MB / 0.9461 GB, free: 7.293 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008732/0.1911, allocations: 0.6785 MB / 0.9468 GB, free: 6.613 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.1914, allocations: 279.6 kB / 0.9471 GB, free: 6.34 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004058/0.1918, allocations: 129.2 kB / 0.9472 GB, free: 6.215 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007787/0.1926, allocations: 1.197 MB / 0.9484 GB, free: 4.852 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=154): time 3.857e-06/0.1926, allocations: 0 / 0.9484 GB, free: 4.852 MB / 0.9011 GB Notification: Performance of matching and sorting (n=154): time 0.002028/0.1946, allocations: 1.111 MB / 0.9495 GB, free: 3.719 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.1947, allocations: 205.2 kB / 0.9496 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007065/0.1954, allocations: 0.6458 MB / 0.9503 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.324e-05/0.1955, allocations: 61.7 kB / 0.9503 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.1957, allocations: 0.5581 MB / 0.9509 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.196, allocations: 0.5189 MB / 0.9514 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.1962, allocations: 251.4 kB / 0.9516 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.1963, allocations: 373.8 kB / 0.952 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.1966, allocations: 166.7 kB / 0.9521 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.1969, allocations: 426.5 kB / 0.9525 GB, free: 424 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006031/0.1975, allocations: 0.5569 MB / 0.9531 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.1975, allocations: 0 / 0.9531 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001086/0.1986, allocations: 0.8008 MB / 0.9539 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1986, allocations: 6.031 kB / 0.9539 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.1986, allocations: 4 kB / 0.9539 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005897/0.1992, allocations: 236 kB / 0.9541 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008997/0.2001, allocations: 387.5 kB / 0.9545 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.2032, allocations: 6.047 MB / 0.9604 GB, free: 7.906 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.2037, allocations: 131.3 kB / 0.9605 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/0.2037, allocations: 43.91 kB / 0.9606 GB, free: 7.734 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.0003013/0.204, allocations: 199 kB / 0.9607 GB, free: 7.531 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.2042, allocations: 136 kB / 0.9609 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.2055, allocations: 1.034 MB / 0.9619 GB, free: 6.34 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.2055, allocations: 20 kB / 0.9619 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2055, allocations: 0 / 0.9619 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.2056, allocations: 7.969 kB / 0.9619 GB, free: 6.312 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/0.2081, allocations: 1.885 MB / 0.9637 GB, free: 4.367 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2081, allocations: 0 / 0.9637 GB, free: 4.367 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000807/0.2089, allocations: 342.4 kB / 0.9641 GB, free: 4.031 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004913/0.2094, allocations: 232 kB / 0.9643 GB, free: 3.789 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.949e-05/0.2095, allocations: 39.91 kB / 0.9643 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002652/0.2121, allocations: 6.057 MB / 0.9702 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2121, allocations: 0 / 0.9702 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.2136, allocations: 0.9266 MB / 0.9712 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.2139, allocations: 234.7 kB / 0.9714 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.214, allocations: 43.89 kB / 0.9714 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.2145, allocations: 66.58 kB / 0.9715 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.2146, allocations: 113.8 kB / 0.9716 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.494e-05/0.2147, allocations: 47.95 kB / 0.9716 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002441/0.215, allocations: 324.5 kB / 0.9719 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.215, allocations: 0 / 0.9719 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001171/0.2161, allocations: 0.6312 MB / 0.9726 GB, free: 10.85 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.00176/0.2179, allocations: 0.869 MB / 0.9734 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.2191, allocations: 1.269 MB / 0.9747 GB, free: 8.906 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.807e-05/0.2191, allocations: 8.891 kB / 0.9747 GB, free: 8.898 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007364/0.2199, allocations: 1.005 MB / 0.9756 GB, free: 7.832 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.221, allocations: 0.5435 MB / 0.9762 GB, free: 7.305 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.2245, allocations: 2.563 MB / 0.9787 GB, free: 4.703 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.2248, allocations: 314.3 kB / 0.979 GB, free: 4.371 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0008157/0.2256, allocations: 322.2 kB / 0.9793 GB, free: 4.051 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/0.2267, allocations: 0.5418 MB / 0.9798 GB, free: 3.504 MB / 0.9323 GB Notification: Performance of SimCode: time 1.483e-06/0.2267, allocations: 0 / 0.9798 GB, free: 3.504 MB / 0.9323 GB Notification: Performance of Templates: time 0.03489/0.2616, allocations: 30.45 MB / 1.01 GB, free: 5.617 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 -s gbode -gbm=radauIIA3 -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.279806163161993]