Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.329/2.329, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 176.8 kB / 491.2 MB, free: 1.57 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.859/1.859, allocations: 221.5 MB / 0.7868 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001164, allocations: 91.92 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.92e-05/2.922e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4237, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.611/6.035, allocations: 1.908 GB / 3.12 GB, free: 347.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/6.035, allocations: 93.36 kB / 3.12 GB, free: 347.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.621/7.656, allocations: 394.4 MB / 3.505 GB, free: 293 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.964e-06/7.656, allocations: 3.531 kB / 3.505 GB, free: 293 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001687/7.656, allocations: 35.88 kB / 3.505 GB, free: 293 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.005142/7.661, allocations: 1.515 MB / 3.507 GB, free: 292.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/7.661, allocations: 9.875 kB / 3.507 GB, free: 292.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003817/7.665, allocations: 349.4 kB / 3.507 GB, free: 292.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005194/7.671, allocations: 1.113 MB / 3.508 GB, free: 292.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/7.671, allocations: 35.34 kB / 3.508 GB, free: 292.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003862/7.671, allocations: 67.31 kB / 3.508 GB, free: 292.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004278/7.675, allocations: 1.272 MB / 3.51 GB, free: 292 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/7.679, allocations: 1.02 MB / 3.511 GB, free: 291.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.917e-05/7.679, allocations: 2.562 kB / 3.511 GB, free: 291.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/7.679, allocations: 2.031 kB / 3.511 GB, free: 291.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.463e-05/7.679, allocations: 36.56 kB / 3.511 GB, free: 291.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.01004/7.689, allocations: 3.475 MB / 3.514 GB, free: 290.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/7.692, allocations: 1.056 MB / 3.515 GB, free: 290.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008652/7.693, allocations: 376.8 kB / 3.515 GB, free: 290.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/7.694, allocations: 419.2 kB / 3.516 GB, free: 290.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/7.695, allocations: 0.5393 MB / 3.516 GB, free: 290.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=97): time 4.429e-06/7.695, allocations: 0 / 3.516 GB, free: 290.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=97): time 0.004813/7.7, allocations: 1.027 MB / 3.517 GB, free: 290.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.53e-05/7.7, allocations: 247.2 kB / 3.518 GB, free: 289.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/7.702, allocations: 0.6057 MB / 3.518 GB, free: 289.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/7.702, allocations: 27.61 kB / 3.518 GB, free: 289.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005944/7.703, allocations: 0.5037 MB / 3.519 GB, free: 289.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/7.703, allocations: 315.7 kB / 3.519 GB, free: 289.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/7.703, allocations: 9.125 kB / 3.519 GB, free: 289.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.695e-05/7.703, allocations: 344.5 kB / 3.519 GB, free: 289 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007523/7.704, allocations: 291.5 kB / 3.52 GB, free: 289 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009221/7.705, allocations: 448 kB / 3.52 GB, free: 288.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/7.707, allocations: 487 kB / 3.521 GB, free: 288.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/7.707, allocations: 1.312 kB / 3.521 GB, free: 288.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004243/7.711, allocations: 1.052 MB / 3.522 GB, free: 288.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/7.711, allocations: 9.594 kB / 3.522 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/7.711, allocations: 4.25 kB / 3.522 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008347/7.712, allocations: 82.61 kB / 3.522 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/7.714, allocations: 205.8 kB / 3.522 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/7.716, allocations: 1.464 MB / 3.523 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/7.718, allocations: 94.28 kB / 3.523 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/7.718, allocations: 35.92 kB / 3.523 GB, free: 287.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003494/7.718, allocations: 125.6 kB / 3.524 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/7.718, allocations: 98.66 kB / 3.524 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004902/7.723, allocations: 1.383 MB / 3.525 GB, free: 287.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/7.723, allocations: 14.88 kB / 3.525 GB, free: 287.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/7.723, allocations: 0 / 3.525 GB, free: 287.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/7.723, allocations: 9.234 kB / 3.525 GB, free: 287.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007677/7.731, allocations: 2.507 MB / 3.527 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/7.731, allocations: 1.031 kB / 3.527 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/7.733, allocations: 196.2 kB / 3.528 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007441/7.733, allocations: 85.55 kB / 3.528 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/7.734, allocations: 23.89 kB / 3.528 GB, free: 286.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/7.736, allocations: 1.494 MB / 3.529 GB, free: 285.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/7.736, allocations: 5.922 kB / 3.529 GB, free: 285.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005375/7.741, allocations: 1.765 MB / 3.531 GB, free: 285.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/7.742, allocations: 349.1 kB / 3.531 GB, free: 285 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/7.743, allocations: 2.656 kB / 3.531 GB, free: 285 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/7.744, allocations: 70.06 kB / 3.531 GB, free: 285 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/7.744, allocations: 82.47 kB / 3.531 GB, free: 285 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/7.744, allocations: 42.97 kB / 3.531 GB, free: 285 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001107/7.745, allocations: 499.4 kB / 3.532 GB, free: 284.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.41e-07/7.745, allocations: 0 / 3.532 GB, free: 284.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002875/7.748, allocations: 0.527 MB / 3.532 GB, free: 284.8 MB / 1.151 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004927/7.753, allocations: 2.004 MB / 3.534 GB, free: 284.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002575/7.756, allocations: 0.8961 MB / 3.535 GB, free: 284.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/7.756, allocations: 3.812 kB / 3.535 GB, free: 284.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/7.757, allocations: 0.5661 MB / 3.536 GB, free: 284.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/7.76, allocations: 357 kB / 3.536 GB, free: 284.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006373/7.767, allocations: 1.896 MB / 3.538 GB, free: 283.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008376/7.767, allocations: 1.168 MB / 3.539 GB, free: 283 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002299/7.77, allocations: 340.7 kB / 3.539 GB, free: 282.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/7.77, allocations: 114.9 kB / 3.54 GB, free: 282.9 MB / 1.151 GB Notification: Performance of SimCode: time 8.92e-07/7.77, allocations: 0 / 3.54 GB, free: 282.9 MB / 1.151 GB Notification: Performance of Templates: time 0.06552/7.836, allocations: 25.94 MB / 3.565 GB, free: 282.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches