Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001285/0.001285, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001422/0.001422, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 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.9499/0.9499, allocations: 177.2 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.358/2.358, allocations: 438.8 MB / 0.6826 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.848e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1374/0.1374, allocations: 150.2 MB / 0.9852 GB, free: 7.438 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01367/0.151, allocations: 15.27 MB / 1 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008016/0.1518, allocations: 39.69 kB / 1 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007896/0.1526, allocations: 396.5 kB / 1.001 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.002177/0.1548, allocations: 1.32 MB / 1.002 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.1569, allocations: 1.34 MB / 1.003 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001699/0.1586, allocations: 2.769 MB / 1.006 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.1598, allocations: 1.527 MB / 1.007 GB, free: 0.6523 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/0.1622, allocations: 1.961 MB / 1.009 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006464/0.1628, allocations: 0.7594 MB / 1.01 GB, free: 14.06 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.163, allocations: 204 kB / 1.01 GB, free: 13.86 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.1641, allocations: 0.9242 MB / 1.011 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003528/0.1645, allocations: 0.5724 MB / 1.012 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0004936/0.1649, allocations: 0.7092 MB / 1.012 GB, free: 11.65 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.1669, allocations: 2.188 MB / 1.014 GB, free: 9.453 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1669, allocations: 0 / 1.014 GB, free: 9.453 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1669, allocations: 0 / 1.014 GB, free: 9.453 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.1669, allocations: 4 kB / 1.014 GB, free: 9.449 MB / 0.9792 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.002034/0.1689, allocations: 2.187 MB / 1.017 GB, free: 7.219 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.169, allocations: 8.031 kB / 1.017 GB, free: 7.211 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/0.1709, allocations: 0.7983 MB / 1.017 GB, free: 6.41 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009806/0.1719, allocations: 0.85 MB / 1.018 GB, free: 5.52 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/0.172, allocations: 131.5 kB / 1.018 GB, free: 5.391 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.1721, allocations: 184 kB / 1.019 GB, free: 5.211 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.1735, allocations: 1.996 MB / 1.02 GB, free: 2.992 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.1736, allocations: 0 / 1.02 GB, free: 2.992 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-05/0.1736, allocations: 72 kB / 1.021 GB, free: 2.922 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.1737, allocations: 44 kB / 1.021 GB, free: 2.879 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009201/0.1746, allocations: 0.8792 MB / 1.021 GB, free: 1.988 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003487/0.1781, allocations: 2.933 MB / 1.024 GB, free: 14.99 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007731/0.1789, allocations: 0.6758 MB / 1.025 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.1791, allocations: 287.6 kB / 1.025 GB, free: 14.02 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003446/0.1795, allocations: 133.2 kB / 1.025 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006707/0.1801, allocations: 1.189 MB / 1.027 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=154): time 2.424e-06/0.1802, allocations: 0 / 1.027 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of matching and sorting (n=154): time 0.001839/0.182, allocations: 1.111 MB / 1.028 GB, free: 11.4 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/0.1821, allocations: 201.2 kB / 1.028 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004554/0.1825, allocations: 0.638 MB / 1.028 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.991e-05/0.1826, allocations: 69.7 kB / 1.029 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.1829, allocations: 0.5542 MB / 1.029 GB, free: 9.867 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/0.1832, allocations: 0.5189 MB / 1.03 GB, free: 9.344 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.1834, allocations: 255.4 kB / 1.03 GB, free: 9.09 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003992/0.1838, allocations: 373.7 kB / 1.03 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.1841, allocations: 162.7 kB / 1.03 GB, free: 8.559 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.1844, allocations: 434.5 kB / 1.031 GB, free: 8.094 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005688/0.185, allocations: 0.553 MB / 1.031 GB, free: 7.531 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.185, allocations: 0 / 1.031 GB, free: 7.531 MB / 0.9948 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001029/0.186, allocations: 0.8047 MB / 1.032 GB, free: 6.703 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.186, allocations: 6.188 kB / 1.032 GB, free: 6.699 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.186, allocations: 4 kB / 1.032 GB, free: 6.695 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005383/0.1866, allocations: 228.1 kB / 1.032 GB, free: 6.457 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/0.1873, allocations: 335.5 kB / 1.033 GB, free: 6.129 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002914/0.1902, allocations: 6.031 MB / 1.038 GB, free: 15.66 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/0.1906, allocations: 123.3 kB / 1.039 GB, free: 15.54 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/0.1906, allocations: 44.05 kB / 1.039 GB, free: 15.5 MB / 1.01 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.0002762/0.1909, allocations: 214.9 kB / 1.039 GB, free: 15.28 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.1911, allocations: 131.9 kB / 1.039 GB, free: 15.15 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.1924, allocations: 1.026 MB / 1.04 GB, free: 14.09 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.1924, allocations: 16 kB / 1.04 GB, free: 14.08 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.1924, allocations: 0 / 1.04 GB, free: 14.08 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.1924, allocations: 11.97 kB / 1.04 GB, free: 14.07 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.1947, allocations: 1.873 MB / 1.042 GB, free: 12.14 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.1947, allocations: 0 / 1.042 GB, free: 12.14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/0.1953, allocations: 283.6 kB / 1.042 GB, free: 11.86 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004748/0.1958, allocations: 224 kB / 1.042 GB, free: 11.63 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.833e-05/0.1959, allocations: 39.89 kB / 1.042 GB, free: 11.59 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00318/0.199, allocations: 6.054 MB / 1.048 GB, free: 5.094 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.199, allocations: 0 / 1.048 GB, free: 5.094 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.2001, allocations: 0.9354 MB / 1.049 GB, free: 4.121 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.2004, allocations: 226.7 kB / 1.049 GB, free: 3.898 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.553e-05/0.2005, allocations: 32 kB / 1.049 GB, free: 3.867 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.2008, allocations: 71.89 kB / 1.05 GB, free: 3.797 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.201, allocations: 113.8 kB / 1.05 GB, free: 3.688 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.307e-05/0.2011, allocations: 47.95 kB / 1.05 GB, free: 3.641 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002672/0.2013, allocations: 327.2 kB / 1.05 GB, free: 3.316 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.2013, allocations: 0 / 1.05 GB, free: 3.316 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00115/0.2025, allocations: 0.6389 MB / 1.051 GB, free: 2.676 MB / 1.01 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 (156): * Single equations (assignments): 141 * 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.001892/0.2044, allocations: 0.8737 MB / 1.051 GB, free: 2.07 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.2056, allocations: 1.257 MB / 1.053 GB, free: 0.7539 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/0.2056, allocations: 12.89 kB / 1.053 GB, free: 0.7422 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.3669/0.5725, allocations: 0.9949 MB / 1.054 GB, free: 79.62 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.5739, allocations: 0.5193 MB / 1.054 GB, free: 79.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.5772, allocations: 2.548 MB / 1.057 GB, free: 78.54 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.5775, allocations: 313.2 kB / 1.057 GB, free: 78.45 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008234/0.5783, allocations: 317.1 kB / 1.057 GB, free: 78.43 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/0.5794, allocations: 0.5315 MB / 1.058 GB, free: 78.37 MB / 1.01 GB Notification: Performance of SimCode: time 1.493e-06/0.5794, allocations: 1.906 kB / 1.058 GB, free: 78.37 MB / 1.01 GB Notification: Performance of Templates: time 0.03446/0.6139, allocations: 30.03 MB / 1.087 GB, free: 75.73 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.838618092704564]