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.002301/0.002301, allocations: 87.69 kB / 20.24 MB, free: 4.18 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.002701/0.002701, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.603/1.603, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 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 3.104/3.104, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 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 2.485e-06/2.485e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.871e-05/4.12e-05, allocations: 4.984 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2734/0.2734, allocations: 164.1 MB / 0.971 GB, free: 13.51 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02974/0.3032, allocations: 17.52 MB / 0.9881 GB, free: 11.93 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.3048, allocations: 39.69 kB / 0.9882 GB, free: 11.89 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.3068, allocations: 0.5542 MB / 0.9887 GB, free: 11.33 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.005764/0.3126, allocations: 1.705 MB / 0.9904 GB, free: 9.613 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003983/0.3166, allocations: 1.356 MB / 0.9917 GB, free: 8.254 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.005591/0.3221, allocations: 2.812 MB / 0.9945 GB, free: 5.434 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003068/0.3252, allocations: 1.587 MB / 0.996 GB, free: 3.793 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006677/0.3319, allocations: 2.033 MB / 0.998 GB, free: 1.902 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002058/0.3339, allocations: 0.7945 MB / 0.9988 GB, free: 1.105 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0005516/0.3345, allocations: 216 kB / 0.999 GB, free: 0.8945 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003495/0.338, allocations: 1.314 MB / 1 GB, free: 15.58 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.339, allocations: 0.5919 MB / 1.001 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001435/0.3404, allocations: 0.7326 MB / 1.002 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.006588/0.347, allocations: 3.357 MB / 1.005 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.347, allocations: 4 kB / 1.005 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.873e-06/0.347, allocations: 0 / 1.005 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.249e-05/0.3471, allocations: 0 / 1.005 GB, free: 10.88 MB / 0.9636 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.005343/0.3524, allocations: 2.544 MB / 1.007 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3525, allocations: 8.031 kB / 1.007 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00491/0.3574, allocations: 0.8207 MB / 1.008 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/0.3602, allocations: 1.107 MB / 1.009 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.3604, allocations: 127.5 kB / 1.009 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004533/0.3608, allocations: 188 kB / 1.01 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004828/0.3657, allocations: 2.571 MB / 1.012 GB, free: 3.176 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.552e-05/0.3657, allocations: 3.984 kB / 1.012 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.3659, allocations: 75.94 kB / 1.012 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.902e-05/0.366, allocations: 44 kB / 1.012 GB, free: 3.055 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003689/0.3697, allocations: 1.629 MB / 1.014 GB, free: 1.422 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01152/0.3812, allocations: 5.157 MB / 1.019 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/0.3842, allocations: 1.269 MB / 1.02 GB, free: 10.88 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.3854, allocations: 0.5383 MB / 1.021 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.3866, allocations: 189.1 kB / 1.021 GB, free: 10.15 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002551/0.3891, allocations: 1.482 MB / 1.022 GB, free: 8.496 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=154): time 4.238e-06/0.3891, allocations: 4 kB / 1.022 GB, free: 8.492 MB / 0.9792 GB Notification: Performance of matching and sorting (n=154): time 0.006685/0.3958, allocations: 2.042 MB / 1.024 GB, free: 6.422 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/0.396, allocations: 209.2 kB / 1.024 GB, free: 6.176 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/0.3977, allocations: 0.9564 MB / 1.025 GB, free: 5.199 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002164/0.3979, allocations: 61.7 kB / 1.025 GB, free: 5.133 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008835/0.3988, allocations: 0.7659 MB / 1.026 GB, free: 4.355 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006874/0.3995, allocations: 0.5503 MB / 1.027 GB, free: 3.801 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005823/0.4001, allocations: 333.1 kB / 1.027 GB, free: 3.469 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000389/0.4005, allocations: 0.5629 MB / 1.027 GB, free: 2.898 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.4015, allocations: 427.8 kB / 1.028 GB, free: 2.48 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.4033, allocations: 0.8733 MB / 1.029 GB, free: 1.52 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/0.4056, allocations: 1.055 MB / 1.03 GB, free: 464 kB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.4056, allocations: 0 / 1.03 GB, free: 464 kB / 0.9792 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004147/0.4098, allocations: 1.522 MB / 1.031 GB, free: 14.9 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.4098, allocations: 8 kB / 1.031 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.4098, allocations: 0 / 1.031 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/0.4114, allocations: 290.2 kB / 1.032 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.4131, allocations: 351.5 kB / 1.032 GB, free: 14.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009542/0.4227, allocations: 9.294 MB / 1.041 GB, free: 4.332 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.4242, allocations: 131.2 kB / 1.041 GB, free: 4.203 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.4244, allocations: 59.95 kB / 1.041 GB, free: 4.145 MB / 0.9948 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.0009936/0.4254, allocations: 367 kB / 1.042 GB, free: 3.777 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005115/0.4259, allocations: 179.2 kB / 1.042 GB, free: 3.602 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004865/0.4308, allocations: 1.732 MB / 1.043 GB, free: 1.836 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/0.4308, allocations: 16 kB / 1.043 GB, free: 1.82 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.4308, allocations: 0 / 1.043 GB, free: 1.82 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/0.4308, allocations: 11.97 kB / 1.043 GB, free: 1.809 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4164/0.8472, allocations: 3.368 MB / 1.047 GB, free: 272.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.8472, allocations: 0 / 1.047 GB, free: 272.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.8486, allocations: 312.5 kB / 1.047 GB, free: 272.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/0.8498, allocations: 272.5 kB / 1.047 GB, free: 272.2 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.85, allocations: 43.39 kB / 1.047 GB, free: 272.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004778/0.8548, allocations: 9.302 MB / 1.056 GB, free: 263.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.8548, allocations: 0 / 1.056 GB, free: 263.6 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003566/0.8583, allocations: 1.747 MB / 1.058 GB, free: 263.3 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008416/0.8592, allocations: 325.9 kB / 1.058 GB, free: 263.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.8594, allocations: 32.53 kB / 1.058 GB, free: 263.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.8606, allocations: 85.27 kB / 1.058 GB, free: 263.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/0.8608, allocations: 124.3 kB / 1.059 GB, free: 263.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/0.861, allocations: 73.17 kB / 1.059 GB, free: 263.2 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007235/0.8617, allocations: 0.5917 MB / 1.059 GB, free: 262.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1e-07/0.8617, allocations: 0 / 1.059 GB, free: 262.9 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001797/0.8635, allocations: 0.6508 MB / 1.06 GB, free: 262.8 MB / 0.9948 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.003803/0.8673, allocations: 0.7873 MB / 1.061 GB, free: 262.6 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002987/0.8703, allocations: 2.081 MB / 1.063 GB, free: 261.4 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.8703, allocations: 3.469 kB / 1.063 GB, free: 261.4 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.8719, allocations: 1.557 MB / 1.064 GB, free: 260.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.8744, allocations: 0.5559 MB / 1.065 GB, free: 260.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/0.8789, allocations: 2.804 MB / 1.067 GB, free: 258.8 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006543/0.8796, allocations: 0.718 MB / 1.068 GB, free: 258.6 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00139/0.881, allocations: 410.7 kB / 1.069 GB, free: 258.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/0.8814, allocations: 163.3 kB / 1.069 GB, free: 258.5 MB / 0.9948 GB Notification: Performance of SimCode: time 1.473e-06/0.8814, allocations: 0 / 1.069 GB, free: 258.5 MB / 0.9948 GB Notification: Performance of Templates: time 0.0498/0.9312, allocations: 28.42 MB / 1.096 GB, free: 253.3 MB / 0.9948 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=240 -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","/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.597710088943131]