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.001397/0.001397, allocations: 78.41 kB / 19.18 MB, free: 2.527 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.001544/0.001544, allocations: 169.3 kB / 22.46 MB, free: 5.359 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.486/1.486, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 2.935/2.935, allocations: 377.8 MB / 0.6221 GB, free: 12.65 MB / 0.5919 GB " [Timeout remaining time 176] 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.774e-06/1.774e-06, allocations: 0 / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.337e-05/3.515e-05, allocations: 5.516 kB / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2152/0.2153, allocations: 148.2 MB / 1.126 GB, free: 7.273 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.5998/0.8151, allocations: 15.89 MB / 1.142 GB, free: 45.48 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.8166, allocations: 39.47 kB / 1.142 GB, free: 45.48 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.8181, allocations: 0.5486 MB / 1.142 GB, free: 45.48 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004662/0.8227, allocations: 1.704 MB / 1.144 GB, free: 45.44 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003428/0.8262, allocations: 1.374 MB / 1.145 GB, free: 45.41 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00333/0.8295, allocations: 2.809 MB / 1.148 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/0.8317, allocations: 1.527 MB / 1.149 GB, free: 45.08 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004864/0.8366, allocations: 1.913 MB / 1.151 GB, free: 44.95 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.8379, allocations: 0.7964 MB / 1.152 GB, free: 44.86 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000309/0.8382, allocations: 220.2 kB / 1.152 GB, free: 44.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002729/0.8409, allocations: 1.311 MB / 1.154 GB, free: 44.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004525/0.8414, allocations: 0.5888 MB / 1.154 GB, free: 44.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009785/0.8423, allocations: 0.7283 MB / 1.155 GB, free: 44.6 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004285/0.8466, allocations: 3.356 MB / 1.158 GB, free: 44.28 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8466, allocations: 0 / 1.158 GB, free: 44.28 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8466, allocations: 0.9688 kB / 1.158 GB, free: 44.28 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.456e-05/0.8467, allocations: 0 / 1.158 GB, free: 44.28 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.00441/0.8511, allocations: 2.3 MB / 1.16 GB, free: 43.2 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.8511, allocations: 12.03 kB / 1.16 GB, free: 43.2 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004741/0.8559, allocations: 0.5744 MB / 1.161 GB, free: 43.09 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.8584, allocations: 1.079 MB / 1.162 GB, free: 42.76 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.8585, allocations: 132.5 kB / 1.162 GB, free: 42.75 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003463/0.8588, allocations: 175.4 kB / 1.162 GB, free: 42.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003784/0.8626, allocations: 2.618 MB / 1.165 GB, free: 41.64 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.8626, allocations: 0.875 kB / 1.165 GB, free: 41.64 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002201/0.8629, allocations: 77.16 kB / 1.165 GB, free: 41.64 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.8629, allocations: 45.28 kB / 1.165 GB, free: 41.63 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00335/0.8662, allocations: 1.826 MB / 1.167 GB, free: 41.62 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00871/0.8749, allocations: 3.926 MB / 1.171 GB, free: 40.7 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/0.8784, allocations: 1.406 MB / 1.172 GB, free: 40.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.8796, allocations: 0.6069 MB / 1.173 GB, free: 40.64 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.8807, allocations: 180.7 kB / 1.173 GB, free: 40.64 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002272/0.8829, allocations: 1.513 MB / 1.174 GB, free: 39.8 MB / 1.076 GB Notification: Performance of pre-optimization done (n=154): time 2.508e-05/0.8829, allocations: 2.125 kB / 1.174 GB, free: 39.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=154): time 0.007066/0.89, allocations: 2.22 MB / 1.176 GB, free: 39.62 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.8901, allocations: 208.2 kB / 1.177 GB, free: 39.4 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.8916, allocations: 0.7683 MB / 1.177 GB, free: 39.26 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002896/0.8919, allocations: 68.42 kB / 1.177 GB, free: 39.22 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006053/0.8925, allocations: 0.667 MB / 1.178 GB, free: 38.89 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004434/0.8929, allocations: 0.5161 MB / 1.179 GB, free: 38.55 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004743/0.8934, allocations: 271.9 kB / 1.179 GB, free: 38.53 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.8935, allocations: 360.9 kB / 1.179 GB, free: 38.22 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.8947, allocations: 0.5121 MB / 1.18 GB, free: 38.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.8961, allocations: 0.9022 MB / 1.181 GB, free: 37.86 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/0.8986, allocations: 1.173 MB / 1.182 GB, free: 37.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.8986, allocations: 2 kB / 1.182 GB, free: 37.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.00432/0.9029, allocations: 1.633 MB / 1.183 GB, free: 37.6 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.903, allocations: 8.625 kB / 1.183 GB, free: 37.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.903, allocations: 1.25 kB / 1.183 GB, free: 37.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009863/0.904, allocations: 197.7 kB / 1.184 GB, free: 37.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.9057, allocations: 350.1 kB / 1.184 GB, free: 37.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004767/0.9105, allocations: 6.635 MB / 1.19 GB, free: 31.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.9124, allocations: 145.2 kB / 1.19 GB, free: 31.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.9126, allocations: 61.56 kB / 1.191 GB, free: 31.53 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.001179/0.9137, allocations: 389.8 kB / 1.191 GB, free: 31.41 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004369/0.9142, allocations: 138.3 kB / 1.191 GB, free: 31.34 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004405/0.9186, allocations: 1.886 MB / 1.193 GB, free: 31.15 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-05/0.9186, allocations: 17.09 kB / 1.193 GB, free: 31.15 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-06/0.9186, allocations: 2.281 kB / 1.193 GB, free: 31.15 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.9186, allocations: 8.109 kB / 1.193 GB, free: 31.15 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006881/0.9255, allocations: 3.231 MB / 1.196 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.9255, allocations: 0 / 1.196 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/0.9271, allocations: 319.7 kB / 1.196 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007683/0.9278, allocations: 184.6 kB / 1.197 GB, free: 29.97 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/0.928, allocations: 44.92 kB / 1.197 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004628/0.9326, allocations: 6.677 MB / 1.203 GB, free: 23.55 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.9326, allocations: 1.062 kB / 1.203 GB, free: 23.55 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004333/0.9369, allocations: 1.763 MB / 1.205 GB, free: 22.78 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/0.9379, allocations: 324.5 kB / 1.205 GB, free: 22.61 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002295/0.9382, allocations: 38.5 kB / 1.205 GB, free: 22.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.9394, allocations: 96.14 kB / 1.205 GB, free: 22.56 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003483/0.9398, allocations: 125.3 kB / 1.205 GB, free: 22.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/0.94, allocations: 73.55 kB / 1.205 GB, free: 22.52 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008132/0.9408, allocations: 0.5264 MB / 1.206 GB, free: 22.3 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9408, allocations: 1.375 kB / 1.206 GB, free: 22.3 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001904/0.9427, allocations: 0.6294 MB / 1.207 GB, free: 22.12 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 (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.002372/0.945, allocations: 0.7836 MB / 1.207 GB, free: 21.87 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003642/0.9487, allocations: 1.872 MB / 1.209 GB, free: 20.89 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.9487, allocations: 3.719 kB / 1.209 GB, free: 20.89 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002018/0.9507, allocations: 1.265 MB / 1.21 GB, free: 20.13 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/0.9533, allocations: 0.5071 MB / 1.211 GB, free: 19.97 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005937/0.9593, allocations: 2.85 MB / 1.214 GB, free: 18.55 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.9603, allocations: 0.7255 MB / 1.214 GB, free: 18.39 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001825/0.9622, allocations: 436.8 kB / 1.215 GB, free: 18.27 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000505/0.9627, allocations: 156.9 kB / 1.215 GB, free: 18.25 MB / 1.076 GB Notification: Performance of SimCode: time 9.22e-07/0.9627, allocations: 1.469 kB / 1.215 GB, free: 18.25 MB / 1.076 GB Notification: Performance of Templates: time 0.04538/1.008, allocations: 27.74 MB / 1.242 GB, free: 15.08 MB / 1.076 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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.609666101634502]