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.00151/0.00151, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001579/0.001579, allocations: 160 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.48/1.48, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 3.052/3.052, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.893e-06/1.893e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.384e-05, allocations: 2.281 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.8427/0.8427, allocations: 148.1 MB / 1.145 GB, free: 45.19 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01836/0.8611, allocations: 15.87 MB / 1.16 GB, free: 44.94 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002014/0.8631, allocations: 42.28 kB / 1.16 GB, free: 44.94 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.865, allocations: 0.5426 MB / 1.161 GB, free: 44.93 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005826/0.8708, allocations: 1.706 MB / 1.163 GB, free: 44.88 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003594/0.8744, allocations: 1.359 MB / 1.164 GB, free: 44.84 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003319/0.8777, allocations: 2.79 MB / 1.167 GB, free: 44.33 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.8795, allocations: 1.452 MB / 1.168 GB, free: 44.15 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004472/0.884, allocations: 1.909 MB / 1.17 GB, free: 44.01 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.8851, allocations: 0.8103 MB / 1.171 GB, free: 43.92 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003059/0.8854, allocations: 214.8 kB / 1.171 GB, free: 43.92 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.8881, allocations: 1.303 MB / 1.172 GB, free: 43.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004323/0.8885, allocations: 0.5894 MB / 1.173 GB, free: 43.75 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009174/0.8894, allocations: 0.7269 MB / 1.173 GB, free: 43.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005428/0.8948, allocations: 3.346 MB / 1.177 GB, free: 43.35 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.8949, allocations: 1.062 kB / 1.177 GB, free: 43.35 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8949, allocations: 0 / 1.177 GB, free: 43.35 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.493e-05/0.8949, allocations: 0.8125 kB / 1.177 GB, free: 43.35 MB / 1.076 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.004861/0.8998, allocations: 2.283 MB / 1.179 GB, free: 42.28 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.8999, allocations: 10.33 kB / 1.179 GB, free: 42.28 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004781/0.9046, allocations: 0.5802 MB / 1.179 GB, free: 42.16 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.907, allocations: 1.053 MB / 1.181 GB, free: 41.84 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.9071, allocations: 134.4 kB / 1.181 GB, free: 41.84 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002769/0.9074, allocations: 175.8 kB / 1.181 GB, free: 41.84 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003948/0.9113, allocations: 2.616 MB / 1.183 GB, free: 40.72 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/0.9114, allocations: 3.094 kB / 1.183 GB, free: 40.72 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.9116, allocations: 78.89 kB / 1.183 GB, free: 40.72 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.651e-05/0.9116, allocations: 41.41 kB / 1.183 GB, free: 40.72 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003654/0.9152, allocations: 1.828 MB / 1.185 GB, free: 40.7 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00875/0.924, allocations: 3.918 MB / 1.189 GB, free: 39.36 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003127/0.9271, allocations: 1.422 MB / 1.19 GB, free: 38.85 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.9284, allocations: 0.6065 MB / 1.191 GB, free: 38.62 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.9295, allocations: 176.8 kB / 1.191 GB, free: 38.6 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/0.9316, allocations: 1.51 MB / 1.193 GB, free: 37.51 MB / 1.076 GB Notification: Performance of pre-optimization done (n=154): time 4.349e-06/0.9316, allocations: 2.812 kB / 1.193 GB, free: 37.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=154): time 0.006797/0.9384, allocations: 2.223 MB / 1.195 GB, free: 36.75 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/0.9385, allocations: 209 kB / 1.195 GB, free: 36.52 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.9398, allocations: 0.7473 MB / 1.196 GB, free: 36.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002746/0.9401, allocations: 67.59 kB / 1.196 GB, free: 36.15 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005602/0.9406, allocations: 0.6659 MB / 1.197 GB, free: 35.63 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004316/0.941, allocations: 0.5109 MB / 1.197 GB, free: 35.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004829/0.9415, allocations: 273 kB / 1.197 GB, free: 35.11 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.9416, allocations: 361.1 kB / 1.198 GB, free: 34.78 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.9428, allocations: 0.5145 MB / 1.198 GB, free: 34.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.9442, allocations: 0.907 MB / 1.199 GB, free: 34.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002358/0.9465, allocations: 1.176 MB / 1.2 GB, free: 33.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.9465, allocations: 1.375 kB / 1.2 GB, free: 33.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004101/0.9507, allocations: 1.631 MB / 1.202 GB, free: 32.85 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.9507, allocations: 5.656 kB / 1.202 GB, free: 32.85 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.9507, allocations: 1.5 kB / 1.202 GB, free: 32.85 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.9517, allocations: 188.8 kB / 1.202 GB, free: 32.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.9534, allocations: 349.1 kB / 1.202 GB, free: 32.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004525/0.958, allocations: 6.654 MB / 1.209 GB, free: 26.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.9596, allocations: 153.5 kB / 1.209 GB, free: 26.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.9597, allocations: 60.47 kB / 1.209 GB, free: 26.3 MB / 1.076 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0009043/0.9606, allocations: 394 kB / 1.209 GB, free: 26.05 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.9609, allocations: 131.6 kB / 1.209 GB, free: 25.98 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004363/0.9653, allocations: 1.866 MB / 1.211 GB, free: 25.24 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.9653, allocations: 15.94 kB / 1.211 GB, free: 25.24 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.9653, allocations: 3 kB / 1.211 GB, free: 25.24 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.146e-05/0.9653, allocations: 9.172 kB / 1.211 GB, free: 25.24 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006673/0.972, allocations: 3.224 MB / 1.214 GB, free: 23.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.972, allocations: 3.938 kB / 1.214 GB, free: 23.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/0.9736, allocations: 317.4 kB / 1.215 GB, free: 23.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008099/0.9744, allocations: 183.5 kB / 1.215 GB, free: 23.71 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.9745, allocations: 45.41 kB / 1.215 GB, free: 23.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004366/0.9789, allocations: 6.669 MB / 1.222 GB, free: 17.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.9789, allocations: 1.125 kB / 1.222 GB, free: 17.29 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004582/0.9835, allocations: 1.757 MB / 1.223 GB, free: 16.54 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.9847, allocations: 318.5 kB / 1.224 GB, free: 16.36 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003222/0.985, allocations: 39.25 kB / 1.224 GB, free: 16.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.9864, allocations: 100.5 kB / 1.224 GB, free: 16.31 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003408/0.9868, allocations: 121.7 kB / 1.224 GB, free: 16.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/0.987, allocations: 73.28 kB / 1.224 GB, free: 16.28 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007975/0.9878, allocations: 0.5165 MB / 1.224 GB, free: 16.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9878, allocations: 0.875 kB / 1.224 GB, free: 16.06 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002153/0.9899, allocations: 0.6332 MB / 1.225 GB, free: 15.88 MB / 1.076 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.002621/0.9925, allocations: 0.7776 MB / 1.226 GB, free: 15.63 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003717/0.9962, allocations: 1.871 MB / 1.228 GB, free: 14.65 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.9963, allocations: 3.422 kB / 1.228 GB, free: 14.65 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002012/0.9983, allocations: 1.269 MB / 1.229 GB, free: 13.88 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/1.001, allocations: 493.5 kB / 1.229 GB, free: 13.71 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005466/1.006, allocations: 2.837 MB / 1.232 GB, free: 12.29 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008737/1.007, allocations: 0.7252 MB / 1.233 GB, free: 12.11 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001763/1.009, allocations: 422.4 kB / 1.233 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005204/1.009, allocations: 156.6 kB / 1.233 GB, free: 11.96 MB / 1.076 GB Notification: Performance of SimCode: time 1.373e-06/1.009, allocations: 1.156 kB / 1.233 GB, free: 11.96 MB / 1.076 GB Notification: Performance of Templates: time 0.04261/1.052, allocations: 27.34 MB / 1.26 GB, free: 7.02 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.757485430687666]