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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001249/0.001249, allocations: 91.69 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 181.4 kB / 16.92 MB, free: 6.652 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.444/2.444, allocations: 390.9 MB / 0.667 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003879, allocations: 8 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6976/0.698, allocations: 142.4 MB / 0.9557 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1857/0.8838, allocations: 171.4 MB / 1.123 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0167/0.9005, allocations: 10.72 MB / 1.134 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/0.9021, allocations: 31.81 kB / 1.134 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.9037, allocations: 317.8 kB / 1.134 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003881/0.9076, allocations: 0.9438 MB / 1.135 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004781/0.9124, allocations: 1.512 MB / 1.136 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003599/0.916, allocations: 2.596 MB / 1.139 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.9186, allocations: 1.237 MB / 1.14 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004426/0.923, allocations: 1.052 MB / 1.141 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.9246, allocations: 0.6725 MB / 1.142 GB, free: 144 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003836/0.925, allocations: 44 kB / 1.142 GB, free: 100 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003451/0.9284, allocations: 1.419 MB / 1.143 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005823/0.929, allocations: 330.6 kB / 1.143 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.9303, allocations: 0.6464 MB / 1.144 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003074/0.9334, allocations: 1.828 MB / 1.146 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9334, allocations: 0 / 1.146 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9334, allocations: 0 / 1.146 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.732e-05/0.9335, allocations: 0 / 1.146 GB, free: 11.86 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.003996/0.9375, allocations: 1.581 MB / 1.147 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.9376, allocations: 8.031 kB / 1.147 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/0.94, allocations: 369.8 kB / 1.148 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.9417, allocations: 0.9446 MB / 1.149 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-05/0.9418, allocations: 86.33 kB / 1.149 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.942, allocations: 112 kB / 1.149 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/0.9444, allocations: 1.314 MB / 1.15 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.9444, allocations: 0 / 1.15 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.9446, allocations: 48 kB / 1.15 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.9446, allocations: 28 kB / 1.15 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.947, allocations: 1.465 MB / 1.152 GB, free: 5.742 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.006263/0.9533, allocations: 3.875 MB / 1.155 GB, free: 1.711 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/0.9555, allocations: 1.224 MB / 1.157 GB, free: 476 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007978/0.9564, allocations: 459.6 kB / 1.157 GB, free: 12 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007901/0.9572, allocations: 437.3 kB / 1.158 GB, free: 15.51 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.9583, allocations: 0.6684 MB / 1.158 GB, free: 14.82 MB / 0.92 GB Notification: Performance of pre-optimization done (n=106): time 3.016e-06/0.9584, allocations: 0 / 1.158 GB, free: 14.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=106): time 0.004138/0.9625, allocations: 1.618 MB / 1.16 GB, free: 13.18 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.9626, allocations: 196.9 kB / 1.16 GB, free: 12.95 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.9639, allocations: 0.8824 MB / 1.161 GB, free: 12.04 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.964, allocations: 53.7 kB / 1.161 GB, free: 11.98 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004493/0.9645, allocations: 0.5082 MB / 1.161 GB, free: 11.46 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.9648, allocations: 350.9 kB / 1.162 GB, free: 11.12 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.9649, allocations: 93.61 kB / 1.162 GB, free: 11.02 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.9651, allocations: 349.9 kB / 1.162 GB, free: 10.67 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007763/0.9658, allocations: 386.4 kB / 1.162 GB, free: 10.29 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000884/0.9667, allocations: 0.5085 MB / 1.163 GB, free: 9.762 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.9684, allocations: 0.8796 MB / 1.164 GB, free: 8.859 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.9684, allocations: 4 kB / 1.164 GB, free: 8.855 MB / 0.92 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002592/0.971, allocations: 1.169 MB / 1.165 GB, free: 7.68 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.971, allocations: 9.719 kB / 1.165 GB, free: 7.672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.971, allocations: 4.094 kB / 1.165 GB, free: 7.668 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006224/0.9717, allocations: 84.77 kB / 1.165 GB, free: 7.582 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.9727, allocations: 235.7 kB / 1.165 GB, free: 7.352 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.9751, allocations: 1.547 MB / 1.167 GB, free: 5.664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.9763, allocations: 154.9 kB / 1.167 GB, free: 5.512 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.9764, allocations: 43.97 kB / 1.167 GB, free: 5.469 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.0006554/0.9771, allocations: 323.3 kB / 1.167 GB, free: 5.145 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.9773, allocations: 118.5 kB / 1.167 GB, free: 5.027 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/0.9807, allocations: 1.517 MB / 1.169 GB, free: 3.488 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.9807, allocations: 12 kB / 1.169 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.9807, allocations: 0 / 1.169 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.9807, allocations: 7.969 kB / 1.169 GB, free: 3.469 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.005387/0.9861, allocations: 2.85 MB / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.9862, allocations: 0 / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009425/0.9871, allocations: 203.7 kB / 1.172 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000593/0.9877, allocations: 88.83 kB / 1.172 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.9878, allocations: 35.97 kB / 1.172 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/0.9901, allocations: 1.563 MB / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.9901, allocations: 0 / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004046/0.9942, allocations: 1.876 MB / 1.175 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007964/0.995, allocations: 359.2 kB / 1.176 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002925/0.9953, allocations: 31.92 kB / 1.176 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.9964, allocations: 101.6 kB / 1.176 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/0.9967, allocations: 92.81 kB / 1.176 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.9968, allocations: 52.03 kB / 1.176 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001084/0.9979, allocations: 0.6222 MB / 1.177 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9979, allocations: 4 kB / 1.177 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00141/0.9993, allocations: 447 kB / 1.177 GB, free: 10.85 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.001892/1.001, allocations: 0.7171 MB / 1.178 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002471/1.004, allocations: 1.101 MB / 1.179 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.004, allocations: 0 / 1.179 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/1.005, allocations: 0.6529 MB / 1.179 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/1.008, allocations: 488.9 kB / 1.18 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006548/1.015, allocations: 3.198 MB / 1.183 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/1.016, allocations: 1.162 MB / 1.184 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006551/1.016, allocations: 147.3 kB / 1.184 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of SimCode: time 1.663e-06/1.016, allocations: 0 / 1.184 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of Templates: time 0.03951/1.056, allocations: 26.51 MB / 1.21 GB, free: 9.094 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches