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.001129/0.001129, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.008944/0.008945, allocations: 169.8 kB / 16.26 MB, free: 6.676 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.436/2.436, allocations: 390.9 MB / 0.6663 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.0004187, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7346/0.735, allocations: 142.4 MB / 0.955 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2007/0.9358, allocations: 171.4 MB / 1.122 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01607/0.9519, allocations: 10.72 MB / 1.133 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.9537, allocations: 27.81 kB / 1.133 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.9554, allocations: 321.8 kB / 1.133 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003689/0.9591, allocations: 0.9395 MB / 1.134 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004688/0.9638, allocations: 1.519 MB / 1.136 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003288/0.9671, allocations: 2.596 MB / 1.138 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.9693, allocations: 1.237 MB / 1.139 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004267/0.9736, allocations: 1.046 MB / 1.14 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.9748, allocations: 0.6725 MB / 1.141 GB, free: 188 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003147/0.9752, allocations: 44 kB / 1.141 GB, free: 144 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/0.9783, allocations: 1.419 MB / 1.142 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004879/0.9788, allocations: 330.6 kB / 1.143 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.9799, allocations: 0.6503 MB / 1.143 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003994/0.9839, allocations: 2.441 MB / 1.146 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.9839, allocations: 0 / 1.146 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.446e-06/0.9839, allocations: 0 / 1.146 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.14e-05/0.984, allocations: 3.938 kB / 1.146 GB, free: 11.28 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.003521/0.9875, allocations: 1.576 MB / 1.147 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.9876, allocations: 8.031 kB / 1.147 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002401/0.99, allocations: 365.8 kB / 1.148 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.9918, allocations: 0.9446 MB / 1.149 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.9919, allocations: 86.33 kB / 1.149 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/0.9921, allocations: 116 kB / 1.149 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002721/0.9949, allocations: 1.314 MB / 1.15 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.9949, allocations: 0 / 1.15 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.9951, allocations: 51.94 kB / 1.15 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.9951, allocations: 28 kB / 1.15 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002594/0.9977, allocations: 1.461 MB / 1.152 GB, free: 5.164 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.00673/1.004, allocations: 3.868 MB / 1.155 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/1.007, allocations: 1.232 MB / 1.157 GB, free: 15.88 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008197/1.008, allocations: 447.6 kB / 1.157 GB, free: 15.44 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007793/1.008, allocations: 445.3 kB / 1.157 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/1.01, allocations: 0.6644 MB / 1.158 GB, free: 14.25 MB / 0.92 GB Notification: Performance of pre-optimization done (n=106): time 3.466e-06/1.01, allocations: 0 / 1.158 GB, free: 14.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=106): time 0.004207/1.014, allocations: 1.618 MB / 1.16 GB, free: 12.61 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.914e-05/1.014, allocations: 196.9 kB / 1.16 GB, free: 12.37 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/1.015, allocations: 0.8901 MB / 1.161 GB, free: 11.46 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/1.015, allocations: 45.7 kB / 1.161 GB, free: 11.41 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004813/1.016, allocations: 0.516 MB / 1.161 GB, free: 10.88 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/1.016, allocations: 350.9 kB / 1.162 GB, free: 10.54 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/1.016, allocations: 89.67 kB / 1.162 GB, free: 10.44 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.017, allocations: 345.9 kB / 1.162 GB, free: 10.1 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008116/1.017, allocations: 390.4 kB / 1.162 GB, free: 9.715 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009255/1.018, allocations: 0.5085 MB / 1.163 GB, free: 9.184 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/1.02, allocations: 0.8796 MB / 1.164 GB, free: 8.281 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/1.02, allocations: 0 / 1.164 GB, free: 8.281 MB / 0.92 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00265/1.023, allocations: 1.176 MB / 1.165 GB, free: 7.098 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/1.023, allocations: 4.094 kB / 1.165 GB, free: 7.094 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.023, allocations: 8 kB / 1.165 GB, free: 7.086 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006168/1.023, allocations: 84.78 kB / 1.165 GB, free: 7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/1.024, allocations: 231.7 kB / 1.165 GB, free: 6.773 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/1.027, allocations: 1.547 MB / 1.167 GB, free: 5.082 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/1.028, allocations: 152.2 kB / 1.167 GB, free: 4.934 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/1.028, allocations: 51.91 kB / 1.167 GB, free: 4.883 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.0007971/1.029, allocations: 321.2 kB / 1.167 GB, free: 4.562 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/1.029, allocations: 118.5 kB / 1.167 GB, free: 4.445 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003344/1.032, allocations: 1.513 MB / 1.169 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/1.032, allocations: 16 kB / 1.169 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.032, allocations: 0 / 1.169 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/1.033, allocations: 7.969 kB / 1.169 GB, free: 2.887 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.005298/1.038, allocations: 2.842 MB / 1.172 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.038, allocations: 4 kB / 1.172 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009065/1.039, allocations: 203.7 kB / 1.172 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005392/1.039, allocations: 92.8 kB / 1.172 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.101e-05/1.039, allocations: 27.97 kB / 1.172 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/1.041, allocations: 1.567 MB / 1.173 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/1.041, allocations: 7.938 kB / 1.173 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/1.045, allocations: 1.872 MB / 1.175 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007027/1.046, allocations: 359.2 kB / 1.176 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003146/1.046, allocations: 31.92 kB / 1.176 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.047, allocations: 99.92 kB / 1.176 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/1.047, allocations: 88.81 kB / 1.176 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.048, allocations: 47.97 kB / 1.176 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001092/1.049, allocations: 0.6261 MB / 1.177 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.3e-07/1.049, allocations: 0 / 1.177 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001399/1.05, allocations: 455 kB / 1.177 GB, free: 10.27 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.001822/1.052, allocations: 0.6978 MB / 1.178 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00239/1.054, allocations: 1.112 MB / 1.179 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.054, allocations: 4 kB / 1.179 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/1.056, allocations: 0.6607 MB / 1.179 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002869/1.059, allocations: 494.5 kB / 1.18 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005942/1.064, allocations: 3.142 MB / 1.183 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008217/1.065, allocations: 1.172 MB / 1.184 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001474/1.067, allocations: 369.7 kB / 1.184 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/1.067, allocations: 131.4 kB / 1.185 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of SimCode: time 1.032e-06/1.067, allocations: 0 / 1.185 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of Templates: time 0.0431/1.11, allocations: 22.33 MB / 1.206 GB, free: 12.56 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