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.0008036/0.0008036, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008708/0.0008708, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.858/0.858, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.708/1.708, allocations: 377.9 MB / 0.6228 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.513e-06/1.513e-06, allocations: 0 / 0.9822 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.317e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.5767/0.5768, allocations: 148.2 MB / 1.127 GB, free: 13 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01407/0.5908, allocations: 15.9 MB / 1.142 GB, free: 2.289 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.592, allocations: 38.44 kB / 1.142 GB, free: 2.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.5932, allocations: 0.5509 MB / 1.143 GB, free: 1.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003368/0.5966, allocations: 1.715 MB / 1.145 GB, free: 0.9375 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.5992, allocations: 1.368 MB / 1.146 GB, free: 196 kB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002397/0.6016, allocations: 2.799 MB / 1.149 GB, free: 14.75 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/0.6031, allocations: 1.537 MB / 1.15 GB, free: 13.94 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.6059, allocations: 1.913 MB / 1.152 GB, free: 13.11 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008812/0.6068, allocations: 0.7977 MB / 1.153 GB, free: 12.82 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002322/0.607, allocations: 214.9 kB / 1.153 GB, free: 12.82 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.6093, allocations: 1.312 MB / 1.154 GB, free: 12.43 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004607/0.6098, allocations: 0.5912 MB / 1.155 GB, free: 12.06 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006298/0.6104, allocations: 0.7272 MB / 1.156 GB, free: 11.72 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0037/0.6141, allocations: 3.352 MB / 1.159 GB, free: 10.4 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6141, allocations: 1.406 kB / 1.159 GB, free: 10.4 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6141, allocations: 0 / 1.159 GB, free: 10.4 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.432e-05/0.6141, allocations: 0.7969 kB / 1.159 GB, free: 10.4 MB / 1.01 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.002959/0.6171, allocations: 2.302 MB / 1.161 GB, free: 8.969 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.6171, allocations: 10.97 kB / 1.161 GB, free: 8.969 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/0.6194, allocations: 0.5823 MB / 1.162 GB, free: 8.824 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.6208, allocations: 1.068 MB / 1.163 GB, free: 8.199 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.423e-05/0.6209, allocations: 133.2 kB / 1.163 GB, free: 8.141 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.6211, allocations: 168.3 kB / 1.163 GB, free: 8.09 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.6238, allocations: 2.62 MB / 1.166 GB, free: 6.391 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.6238, allocations: 5.312 kB / 1.166 GB, free: 6.387 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.6239, allocations: 75.08 kB / 1.166 GB, free: 6.332 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/0.6239, allocations: 53.52 kB / 1.166 GB, free: 6.32 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.6264, allocations: 1.831 MB / 1.168 GB, free: 5.816 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005083/0.6315, allocations: 3.918 MB / 1.171 GB, free: 3.73 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.6334, allocations: 1.409 MB / 1.173 GB, free: 3.203 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007552/0.6342, allocations: 0.6073 MB / 1.173 GB, free: 2.973 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005667/0.6347, allocations: 183.4 kB / 1.174 GB, free: 2.945 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.636, allocations: 1.516 MB / 1.175 GB, free: 1.855 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 3.827e-06/0.636, allocations: 1.219 kB / 1.175 GB, free: 1.855 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.003743/0.6398, allocations: 2.228 MB / 1.177 GB, free: 1.051 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.6399, allocations: 208.2 kB / 1.177 GB, free: 0.8242 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007423/0.6406, allocations: 0.7585 MB / 1.178 GB, free: 0.5039 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.486e-05/0.6407, allocations: 64.95 kB / 1.178 GB, free: 460 kB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000354/0.641, allocations: 0.67 MB / 1.179 GB, free: 15.93 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.6413, allocations: 0.512 MB / 1.179 GB, free: 15.5 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/0.6416, allocations: 274.8 kB / 1.18 GB, free: 15.38 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.6417, allocations: 358.8 kB / 1.18 GB, free: 15.05 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006879/0.6424, allocations: 0.5155 MB / 1.18 GB, free: 14.87 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008468/0.6432, allocations: 0.9073 MB / 1.181 GB, free: 14.29 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.6447, allocations: 1.169 MB / 1.182 GB, free: 13.77 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.6447, allocations: 5.031 kB / 1.182 GB, free: 13.76 MB / 1.026 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002197/0.6469, allocations: 1.627 MB / 1.184 GB, free: 13.1 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.6469, allocations: 5.75 kB / 1.184 GB, free: 13.1 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.647, allocations: 1.75 kB / 1.184 GB, free: 13.1 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004834/0.6474, allocations: 196 kB / 1.184 GB, free: 13.02 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008118/0.6482, allocations: 350.5 kB / 1.185 GB, free: 13 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.6517, allocations: 6.646 MB / 1.191 GB, free: 6.57 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006353/0.6523, allocations: 153.4 kB / 1.191 GB, free: 6.488 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.932e-05/0.6524, allocations: 63.3 kB / 1.191 GB, free: 6.473 MB / 1.026 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.0004853/0.6529, allocations: 388.7 kB / 1.192 GB, free: 6.203 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.6531, allocations: 130.8 kB / 1.192 GB, free: 6.137 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.6555, allocations: 1.881 MB / 1.194 GB, free: 5.355 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.6555, allocations: 16.34 kB / 1.194 GB, free: 5.355 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.6555, allocations: 1.781 kB / 1.194 GB, free: 5.355 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.6555, allocations: 11.02 kB / 1.194 GB, free: 5.352 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/0.6592, allocations: 3.229 MB / 1.197 GB, free: 3.844 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6592, allocations: 6.969 kB / 1.197 GB, free: 3.84 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/0.6599, allocations: 314.8 kB / 1.197 GB, free: 3.82 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003404/0.6602, allocations: 181.7 kB / 1.197 GB, free: 3.746 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.057e-05/0.6603, allocations: 38.5 kB / 1.197 GB, free: 3.719 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003004/0.6633, allocations: 6.675 MB / 1.204 GB, free: 13.09 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6633, allocations: 4.062 kB / 1.204 GB, free: 13.09 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.6653, allocations: 1.765 MB / 1.206 GB, free: 12.11 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000405/0.6657, allocations: 321.5 kB / 1.206 GB, free: 11.88 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.6659, allocations: 37.84 kB / 1.206 GB, free: 11.85 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/0.6664, allocations: 103.8 kB / 1.206 GB, free: 11.8 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.6666, allocations: 124.1 kB / 1.206 GB, free: 11.72 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.796e-05/0.6667, allocations: 70.83 kB / 1.206 GB, free: 11.69 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.000447/0.6671, allocations: 0.5236 MB / 1.207 GB, free: 11.39 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.6671, allocations: 0 / 1.207 GB, free: 11.39 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.001443/0.6685, allocations: 0.6422 MB / 1.207 GB, free: 11.2 MB / 1.042 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.001343/0.6699, allocations: 0.7827 MB / 1.208 GB, free: 10.83 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.00207/0.672, allocations: 1.873 MB / 1.21 GB, free: 9.645 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.672, allocations: 2.938 kB / 1.21 GB, free: 9.645 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.673, allocations: 1.265 MB / 1.211 GB, free: 8.734 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.6742, allocations: 0.4999 MB / 1.212 GB, free: 8.469 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.6774, allocations: 2.909 MB / 1.215 GB, free: 6.762 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.6779, allocations: 0.7264 MB / 1.215 GB, free: 6.371 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/0.6783, allocations: 178.6 kB / 1.215 GB, free: 6.316 MB / 1.042 GB Notification: Performance of SimCode: time 6.91e-07/0.6783, allocations: 0 / 1.215 GB, free: 6.316 MB / 1.042 GB Notification: Performance of Templates: time 0.03714/0.7154, allocations: 59.19 MB / 1.273 GB, free: 14.49 MB / 1.104 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,weaDat.weaBus.winDir,north.pWin,west.pWin,east.pWin,south.pWin Variables in the result:east.pWin,north.pWin,south.pWin,time,weaDat.weaBus.winDir,west.pWin [Calling sys.exit(0), Time elapsed: 11.063202928751707]