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.46/2.46, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.00127/0.00127, allocations: 183.9 kB / 0.4902 GB, free: 2.246 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.663/1.663, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0009785/0.0009785, allocations: 102.7 kB / 0.9396 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004946, allocations: 11.62 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3179, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.698/5.016, allocations: 1.909 GB / 3.138 GB, free: 72.18 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/5.016, allocations: 96.89 kB / 3.138 GB, free: 72.09 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.69/6.707, allocations: 399.6 MB / 3.528 GB, free: 137.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.308e-06/6.707, allocations: 0 / 3.528 GB, free: 137.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002308/6.707, allocations: 35.94 kB / 3.528 GB, free: 137.7 MB / 1.167 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.006231/6.713, allocations: 1.69 MB / 3.53 GB, free: 136 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/6.713, allocations: 8.031 kB / 3.53 GB, free: 136 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/6.716, allocations: 353.8 kB / 3.53 GB, free: 135.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003482/6.72, allocations: 1.125 MB / 3.531 GB, free: 134.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.433e-05/6.72, allocations: 82.23 kB / 3.531 GB, free: 134.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004284/6.72, allocations: 112 kB / 3.531 GB, free: 134.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003101/6.723, allocations: 1.219 MB / 3.533 GB, free: 133 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/6.723, allocations: 0 / 3.533 GB, free: 133 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/6.724, allocations: 48 kB / 3.533 GB, free: 132.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/6.724, allocations: 31.95 kB / 3.533 GB, free: 132.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/6.726, allocations: 1.402 MB / 3.534 GB, free: 131.5 MB / 1.167 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.007621/6.734, allocations: 3.72 MB / 3.538 GB, free: 127.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/6.736, allocations: 1.165 MB / 3.539 GB, free: 126.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007178/6.737, allocations: 429.4 kB / 3.539 GB, free: 125.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009741/6.738, allocations: 0.5904 MB / 3.54 GB, free: 125.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 5.2e-06/6.738, allocations: 0 / 3.54 GB, free: 125.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=97): time 0.003942/6.742, allocations: 1.513 MB / 3.541 GB, free: 123.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.572e-05/6.742, allocations: 248.3 kB / 3.541 GB, free: 123.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/6.743, allocations: 0.8013 MB / 3.542 GB, free: 122.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/6.743, allocations: 45.7 kB / 3.542 GB, free: 122.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004384/6.744, allocations: 0.4885 MB / 3.543 GB, free: 122.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/6.744, allocations: 331.2 kB / 3.543 GB, free: 121.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/6.744, allocations: 20 kB / 3.543 GB, free: 121.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.784e-05/6.744, allocations: 341.9 kB / 3.543 GB, free: 121.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/6.745, allocations: 333.8 kB / 3.544 GB, free: 121.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006881/6.746, allocations: 499.6 kB / 3.544 GB, free: 120.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/6.746, allocations: 406.8 kB / 3.545 GB, free: 120.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/6.746, allocations: 0 / 3.545 GB, free: 120.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002434/6.749, allocations: 1.055 MB / 3.546 GB, free: 119.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/6.749, allocations: 4 kB / 3.546 GB, free: 119.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/6.749, allocations: 4 kB / 3.546 GB, free: 119.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006418/6.75, allocations: 84.83 kB / 3.546 GB, free: 119 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/6.75, allocations: 211.6 kB / 3.546 GB, free: 118.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/6.752, allocations: 1.548 MB / 3.547 GB, free: 117.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/6.754, allocations: 127.1 kB / 3.548 GB, free: 117 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/6.754, allocations: 39.98 kB / 3.548 GB, free: 117 MB / 1.167 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 () * Number of clocked 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.0008189/6.755, allocations: 313.6 kB / 3.548 GB, free: 116.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/6.755, allocations: 110.6 kB / 3.548 GB, free: 116.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/6.758, allocations: 1.437 MB / 3.549 GB, free: 115.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/6.758, allocations: 12 kB / 3.549 GB, free: 115.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/6.758, allocations: 0 / 3.549 GB, free: 115.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/6.758, allocations: 3.984 kB / 3.549 GB, free: 115.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004867/6.763, allocations: 2.698 MB / 3.552 GB, free: 112.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/6.763, allocations: 4 kB / 3.552 GB, free: 112.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008525/6.764, allocations: 199.7 kB / 3.552 GB, free: 112.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005044/6.764, allocations: 84.8 kB / 3.552 GB, free: 112 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.497e-05/6.764, allocations: 31.98 kB / 3.552 GB, free: 111.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/6.766, allocations: 1.583 MB / 3.554 GB, free: 110.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/6.766, allocations: 4 kB / 3.554 GB, free: 110.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003129/6.769, allocations: 1.828 MB / 3.556 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007776/6.77, allocations: 367.2 kB / 3.556 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002986/6.77, allocations: 20 kB / 3.556 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/6.771, allocations: 91.83 kB / 3.556 GB, free: 107.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/6.771, allocations: 84.78 kB / 3.556 GB, free: 107.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-05/6.771, allocations: 39.98 kB / 3.556 GB, free: 107.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001113/6.773, allocations: 0.6446 MB / 3.557 GB, free: 107.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/6.773, allocations: 0 / 3.557 GB, free: 107.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002406/6.775, allocations: 0.581 MB / 3.557 GB, free: 106.5 MB / 1.167 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) * Number of clocked states: 0 () * 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.004108/6.779, allocations: 1.898 MB / 3.559 GB, free: 104.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002145/6.781, allocations: 1.007 MB / 3.56 GB, free: 103.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/6.781, allocations: 0 / 3.56 GB, free: 103.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/6.782, allocations: 0.6216 MB / 3.561 GB, free: 103 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/6.785, allocations: 460.2 kB / 3.561 GB, free: 102.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007446/6.793, allocations: 2.992 MB / 3.564 GB, free: 99.56 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/6.794, allocations: 1.163 MB / 3.565 GB, free: 98.37 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002238/6.796, allocations: 365 kB / 3.566 GB, free: 98.01 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/6.797, allocations: 127.4 kB / 3.566 GB, free: 97.88 MB / 1.167 GB Notification: Performance of SimCode: time 1.433e-06/6.797, allocations: 0 / 3.566 GB, free: 97.88 MB / 1.167 GB Notification: Performance of Templates: time 0.05821/6.855, allocations: 37.56 MB / 3.603 GB, free: 60.53 MB / 1.167 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