Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002396/0.002396, allocations: 190 kB / 16.25 MB, free: 6.625 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.532/1.532, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001498, allocations: 63.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6493/0.6508, allocations: 140.3 MB / 0.9491 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2244/0.8752, allocations: 173.7 MB / 1.119 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01539/0.8906, allocations: 10.71 MB / 1.129 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.8924, allocations: 31.81 kB / 1.129 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.8942, allocations: 329.9 kB / 1.129 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004249/0.8985, allocations: 0.9618 MB / 1.13 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004828/0.9033, allocations: 1.549 MB / 1.132 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003408/0.9068, allocations: 2.291 MB / 1.134 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00266/0.9094, allocations: 1.431 MB / 1.136 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005356/0.9148, allocations: 1.256 MB / 1.137 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.9167, allocations: 0.8052 MB / 1.138 GB, free: 376 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007961/0.9175, allocations: 156 kB / 1.138 GB, free: 220 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004153/0.9217, allocations: 1.419 MB / 1.139 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007935/0.9225, allocations: 458.6 kB / 1.14 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.924, allocations: 0.7657 MB / 1.14 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005105/0.9291, allocations: 2.571 MB / 1.143 GB, free: 11 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.9291, allocations: 3.984 kB / 1.143 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.405e-06/0.9292, allocations: 0 / 1.143 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.184e-05/0.9292, allocations: 0 / 1.143 GB, free: 10.99 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004206/0.9335, allocations: 1.868 MB / 1.145 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.9335, allocations: 12.03 kB / 1.145 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/0.9358, allocations: 349.8 kB / 1.145 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.9374, allocations: 0.9485 MB / 1.146 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/0.9375, allocations: 86.33 kB / 1.146 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.9377, allocations: 119.9 kB / 1.146 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.9399, allocations: 1.298 MB / 1.147 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.9399, allocations: 0 / 1.147 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.9401, allocations: 48 kB / 1.147 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.9401, allocations: 31.94 kB / 1.147 GB, free: 6.07 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.9424, allocations: 1.453 MB / 1.149 GB, free: 4.609 MB / 0.9044 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.006121/0.9485, allocations: 3.848 MB / 1.153 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.9507, allocations: 1.208 MB / 1.154 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007327/0.9514, allocations: 463.6 kB / 1.154 GB, free: 14.92 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007434/0.9522, allocations: 425.3 kB / 1.155 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.9533, allocations: 0.6604 MB / 1.155 GB, free: 13.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=106): time 2.755e-06/0.9534, allocations: 0 / 1.155 GB, free: 13.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=106): time 0.004037/0.9574, allocations: 1.61 MB / 1.157 GB, free: 12.11 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.9575, allocations: 192.9 kB / 1.157 GB, free: 11.88 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.9588, allocations: 0.8862 MB / 1.158 GB, free: 10.97 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.9589, allocations: 49.7 kB / 1.158 GB, free: 10.92 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.9593, allocations: 0.5082 MB / 1.158 GB, free: 10.4 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.9596, allocations: 354.9 kB / 1.159 GB, free: 10.05 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003293/0.96, allocations: 210.8 kB / 1.159 GB, free: 9.84 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.9601, allocations: 349.9 kB / 1.159 GB, free: 9.492 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000712/0.9608, allocations: 386.4 kB / 1.16 GB, free: 9.113 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008631/0.9617, allocations: 0.5007 MB / 1.16 GB, free: 8.59 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.9632, allocations: 0.868 MB / 1.161 GB, free: 7.703 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.9632, allocations: 4 kB / 1.161 GB, free: 7.699 MB / 0.92 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002615/0.9658, allocations: 1.165 MB / 1.162 GB, free: 6.523 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.9659, allocations: 8 kB / 1.162 GB, free: 6.516 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.9659, allocations: 0 / 1.162 GB, free: 6.516 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/0.9665, allocations: 84.88 kB / 1.162 GB, free: 6.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009849/0.9675, allocations: 227.7 kB / 1.163 GB, free: 6.207 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.9696, allocations: 1.654 MB / 1.164 GB, free: 4.402 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.9708, allocations: 134.9 kB / 1.164 GB, free: 4.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.9709, allocations: 51.91 kB / 1.164 GB, free: 4.219 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (128): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006547/0.9716, allocations: 327.3 kB / 1.165 GB, free: 3.891 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.9718, allocations: 122.4 kB / 1.165 GB, free: 3.77 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003027/0.9749, allocations: 1.505 MB / 1.166 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.9749, allocations: 12 kB / 1.166 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.9749, allocations: 0 / 1.166 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.9749, allocations: 11.91 kB / 1.166 GB, free: 2.223 MB / 0.92 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 postOpt removeSimpleEquations (simulation): time 0.004802/0.9797, allocations: 2.838 MB / 1.169 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.9798, allocations: 3.984 kB / 1.169 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008942/0.9807, allocations: 203.7 kB / 1.169 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/0.9811, allocations: 72.98 kB / 1.169 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.836e-05/0.9812, allocations: 35.97 kB / 1.169 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.9831, allocations: 1.674 MB / 1.171 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.9831, allocations: 3.938 kB / 1.171 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003476/0.9866, allocations: 1.864 MB / 1.173 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006191/0.9873, allocations: 339.3 kB / 1.173 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.9875, allocations: 28.23 kB / 1.173 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009215/0.9884, allocations: 92.86 kB / 1.173 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.9886, allocations: 92.83 kB / 1.173 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.589e-05/0.9887, allocations: 43.97 kB / 1.173 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000869/0.9896, allocations: 0.6261 MB / 1.174 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.91e-07/0.9896, allocations: 0 / 1.174 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001261/0.9908, allocations: 447.2 kB / 1.174 GB, free: 9.559 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001627/0.9925, allocations: 0.7075 MB / 1.175 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003317/0.9958, allocations: 1.374 MB / 1.176 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.9958, allocations: 0 / 1.176 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.997, allocations: 0.6568 MB / 1.177 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.9992, allocations: 0.5332 MB / 1.178 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005446/1.005, allocations: 3.025 MB / 1.181 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000735/1.005, allocations: 1.162 MB / 1.182 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001449/1.007, allocations: 373.6 kB / 1.182 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003591/1.007, allocations: 135.4 kB / 1.182 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of SimCode: time 1.082e-06/1.007, allocations: 0 / 1.182 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of Templates: time 0.03885/1.046, allocations: 23.25 MB / 1.205 GB, free: 10.75 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches