Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 192.7 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001246, allocations: 59.91 kB / 0.8685 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6635/0.6648, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1852/0.85, allocations: 166 MB / 1.179 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02398/0.874, allocations: 17.11 MB / 1.195 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.8759, allocations: 27.81 kB / 1.195 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.8779, allocations: 469.1 kB / 1.196 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006247/0.8842, allocations: 1.447 MB / 1.197 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003656/0.8878, allocations: 1.177 MB / 1.198 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004383/0.8922, allocations: 2.852 MB / 1.201 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003599/0.8959, allocations: 1.744 MB / 1.203 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005597/0.9015, allocations: 1.193 MB / 1.204 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.9031, allocations: 0.9528 MB / 1.205 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0007113/0.9039, allocations: 112 kB / 1.205 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.9069, allocations: 1.466 MB / 1.207 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006012/0.9075, allocations: 466.3 kB / 1.207 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.9091, allocations: 0.9482 MB / 1.208 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004748/0.9138, allocations: 3.03 MB / 1.211 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.9139, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.9139, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.072e-05/0.914, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005123/0.9191, allocations: 2.283 MB / 1.213 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.9191, allocations: 8.031 kB / 1.213 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003761/0.9229, allocations: 0.5089 MB / 1.214 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.9247, allocations: 1.078 MB / 1.215 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.802e-05/0.9248, allocations: 135.4 kB / 1.215 GB, free: 7 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000243/0.9251, allocations: 168 kB / 1.215 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/0.9285, allocations: 1.843 MB / 1.217 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.9286, allocations: 3.984 kB / 1.217 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.9288, allocations: 76 kB / 1.217 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.9288, allocations: 40 kB / 1.217 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003425/0.9322, allocations: 1.882 MB / 1.219 GB, free: 2.938 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008067/0.9403, allocations: 5.538 MB / 1.224 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/0.9434, allocations: 1.765 MB / 1.226 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.9446, allocations: 0.6515 MB / 1.226 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008855/0.9455, allocations: 0.8077 MB / 1.227 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001704/0.9472, allocations: 0.8918 MB / 1.228 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 6.151e-06/0.9473, allocations: 0 / 1.228 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006324/0.9536, allocations: 2.564 MB / 1.231 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.518e-05/0.9537, allocations: 201.1 kB / 1.231 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.9548, allocations: 0.8383 MB / 1.232 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.955, allocations: 57.7 kB / 1.232 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006246/0.9556, allocations: 0.633 MB / 1.232 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005171/0.9562, allocations: 488.8 kB / 1.233 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004445/0.9566, allocations: 258.8 kB / 1.233 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.9568, allocations: 353.9 kB / 1.233 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.9579, allocations: 494.3 kB / 1.234 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.9593, allocations: 0.6424 MB / 1.234 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/0.9617, allocations: 1.122 MB / 1.236 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.9618, allocations: 0 / 1.236 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003992/0.9658, allocations: 1.55 MB / 1.237 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.9658, allocations: 11.94 kB / 1.237 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.9658, allocations: 0 / 1.237 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009731/0.9668, allocations: 196.2 kB / 1.237 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.9685, allocations: 331.6 kB / 1.238 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005889/0.9744, allocations: 6.786 MB / 1.244 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.9759, allocations: 172.2 kB / 1.244 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.9761, allocations: 63.89 kB / 1.244 GB, free: 7.008 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (156): * Single equations (assignments): 151 * 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.0008237/0.9769, allocations: 379.3 kB / 1.245 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003847/0.9773, allocations: 130.5 kB / 1.245 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004433/0.9818, allocations: 1.839 MB / 1.247 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.9818, allocations: 23.92 kB / 1.247 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.9818, allocations: 0 / 1.247 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.9818, allocations: 11.97 kB / 1.247 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006442/0.9883, allocations: 3.431 MB / 1.25 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.9883, allocations: 0 / 1.25 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.9898, allocations: 315.5 kB / 1.25 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009057/0.9908, allocations: 200.1 kB / 1.251 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.9909, allocations: 43.89 kB / 1.251 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4858/1.477, allocations: 6.785 MB / 1.257 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.477, allocations: 0 / 1.257 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004222/1.481, allocations: 1.714 MB / 1.259 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007247/1.482, allocations: 412.1 kB / 1.259 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/1.482, allocations: 28.77 kB / 1.259 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.483, allocations: 129.6 kB / 1.259 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003304/1.484, allocations: 108.1 kB / 1.26 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001818/1.484, allocations: 77.92 kB / 1.26 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000961/1.485, allocations: 0.5776 MB / 1.26 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.485, allocations: 0 / 1.26 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001688/1.487, allocations: 0.6007 MB / 1.261 GB, free: 223.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001756/1.488, allocations: 0.721 MB / 1.262 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003553/1.492, allocations: 1.86 MB / 1.263 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.492, allocations: 6.578 kB / 1.263 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002094/1.494, allocations: 1.3 MB / 1.265 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/1.496, allocations: 0.4956 MB / 1.265 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00661/1.503, allocations: 3.551 MB / 1.269 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/1.504, allocations: 1.298 MB / 1.27 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001952/1.506, allocations: 439.1 kB / 1.27 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004602/1.507, allocations: 150 kB / 1.27 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.182e-06/1.507, allocations: 7.828 kB / 1.27 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03965/1.546, allocations: 26.64 MB / 1.296 GB, free: 204.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches