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.00147/0.00147, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001972/0.001972, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.381/1.381, allocations: 222.9 MB / 240.6 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.373/2.373, allocations: 390.2 MB / 0.665 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 63.91 kB / 0.8127 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6917/0.6932, allocations: 140.4 MB / 0.9498 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1982/0.8914, allocations: 173.7 MB / 1.119 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01449/0.906, allocations: 10.71 MB / 1.13 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.9074, allocations: 35.81 kB / 1.13 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.9088, allocations: 333.8 kB / 1.13 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003644/0.9125, allocations: 0.959 MB / 1.131 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004558/0.9171, allocations: 1.553 MB / 1.133 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00312/0.9202, allocations: 2.295 MB / 1.135 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002556/0.9228, allocations: 1.431 MB / 1.136 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004417/0.9273, allocations: 1.247 MB / 1.137 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.9287, allocations: 0.813 MB / 1.138 GB, free: 348 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004892/0.9292, allocations: 152 kB / 1.138 GB, free: 196 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/0.9325, allocations: 1.419 MB / 1.14 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006711/0.9332, allocations: 450.6 kB / 1.14 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.9345, allocations: 0.7696 MB / 1.141 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003089/0.9376, allocations: 1.883 MB / 1.143 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9376, allocations: 0 / 1.143 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9377, allocations: 0 / 1.143 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.959e-05/0.9377, allocations: 4 kB / 1.143 GB, free: 11.66 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.004441/0.9422, allocations: 1.88 MB / 1.145 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.9422, allocations: 8.031 kB / 1.145 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002508/0.9448, allocations: 353.9 kB / 1.145 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.9466, allocations: 0.9446 MB / 1.146 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.163e-05/0.9467, allocations: 86.33 kB / 1.146 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.947, allocations: 119.9 kB / 1.146 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.9496, allocations: 1.298 MB / 1.147 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.9497, allocations: 0 / 1.147 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.9498, allocations: 51.98 kB / 1.147 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.9499, allocations: 32 kB / 1.147 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.9524, allocations: 1.449 MB / 1.149 GB, free: 5.273 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.006986/0.9594, allocations: 3.856 MB / 1.153 GB, free: 1.262 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/0.9618, allocations: 1.208 MB / 1.154 GB, free: 32 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008341/0.9626, allocations: 447.7 kB / 1.154 GB, free: 15.59 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007756/0.9634, allocations: 433.2 kB / 1.155 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001252/0.9647, allocations: 0.6605 MB / 1.155 GB, free: 14.41 MB / 0.92 GB Notification: Performance of pre-optimization done (n=106): time 3.446e-06/0.9647, allocations: 0 / 1.155 GB, free: 14.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=106): time 0.004346/0.9691, allocations: 1.614 MB / 1.157 GB, free: 12.77 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.925e-05/0.9692, allocations: 188.9 kB / 1.157 GB, free: 12.55 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.9705, allocations: 0.8863 MB / 1.158 GB, free: 11.64 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.9707, allocations: 49.7 kB / 1.158 GB, free: 11.58 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004673/0.9712, allocations: 0.5122 MB / 1.158 GB, free: 11.06 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.9715, allocations: 350.9 kB / 1.159 GB, free: 10.71 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/0.9719, allocations: 206.8 kB / 1.159 GB, free: 10.51 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.972, allocations: 349.9 kB / 1.159 GB, free: 10.16 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007818/0.9728, allocations: 390.3 kB / 1.16 GB, free: 9.777 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008975/0.9737, allocations: 0.5046 MB / 1.16 GB, free: 9.25 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.9753, allocations: 0.8641 MB / 1.161 GB, free: 8.367 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.9754, allocations: 0 / 1.161 GB, free: 8.367 MB / 0.92 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00273/0.9781, allocations: 1.176 MB / 1.162 GB, free: 7.18 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.9781, allocations: 7.984 kB / 1.162 GB, free: 7.172 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.9782, allocations: 4 kB / 1.162 GB, free: 7.168 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006108/0.9788, allocations: 80.88 kB / 1.162 GB, free: 7.086 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.9798, allocations: 231.7 kB / 1.163 GB, free: 6.859 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.9821, allocations: 1.646 MB / 1.164 GB, free: 5.062 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.9833, allocations: 131 kB / 1.164 GB, free: 4.934 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.9835, allocations: 52.09 kB / 1.164 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.0006822/0.9842, allocations: 331.3 kB / 1.165 GB, free: 4.551 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003488/0.9845, allocations: 126.4 kB / 1.165 GB, free: 4.426 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/0.9879, allocations: 1.501 MB / 1.166 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.988, allocations: 12 kB / 1.166 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.988, allocations: 0 / 1.166 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.988, allocations: 11.97 kB / 1.166 GB, free: 2.883 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.005442/0.9935, allocations: 2.834 MB / 1.169 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.9935, allocations: 4 kB / 1.169 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009612/0.9945, allocations: 203.7 kB / 1.169 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004828/0.995, allocations: 72.83 kB / 1.169 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.9951, allocations: 35.97 kB / 1.169 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.9972, allocations: 1.674 MB / 1.171 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.9972, allocations: 4 kB / 1.171 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004056/1.001, allocations: 1.864 MB / 1.173 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007624/1.002, allocations: 343.2 kB / 1.173 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/1.002, allocations: 24 kB / 1.173 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/1.004, allocations: 93.88 kB / 1.173 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/1.004, allocations: 88.81 kB / 1.173 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/1.004, allocations: 47.97 kB / 1.173 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001077/1.005, allocations: 0.6261 MB / 1.174 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.005, allocations: 0 / 1.174 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001483/1.006, allocations: 447.1 kB / 1.174 GB, free: 10.22 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.001869/1.008, allocations: 0.7051 MB / 1.175 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003772/1.012, allocations: 1.374 MB / 1.176 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.012, allocations: 8 kB / 1.176 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/1.014, allocations: 0.6451 MB / 1.177 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/1.016, allocations: 0.5192 MB / 1.178 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006027/1.022, allocations: 3.08 MB / 1.181 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009121/1.023, allocations: 1.162 MB / 1.182 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006398/1.024, allocations: 155.4 kB / 1.182 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of SimCode: time 1.042e-06/1.024, allocations: 0 / 1.182 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of Templates: time 0.03999/1.064, allocations: 26.69 MB / 1.208 GB, free: 8.109 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