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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001305/0.001305, allocations: 181.1 kB / 498.1 MB, free: 5.754 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.592/1.592, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001181/0.00118, allocations: 100.2 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003796, allocations: 13.78 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3425, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.721/5.063, allocations: 1.907 GB / 3.13 GB, free: 79.33 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003631/5.064, allocations: 93.44 kB / 3.13 GB, free: 79.28 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.638/6.701, allocations: 399.6 MB / 3.52 GB, free: 155.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 6.833e-06/6.702, allocations: 0 / 3.52 GB, free: 155.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002819/6.702, allocations: 43.86 kB / 3.52 GB, free: 155.2 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.007363/6.709, allocations: 1.677 MB / 3.522 GB, free: 153.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/6.709, allocations: 8.031 kB / 3.522 GB, free: 153.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00297/6.712, allocations: 354.2 kB / 3.522 GB, free: 153.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003807/6.716, allocations: 1.122 MB / 3.523 GB, free: 151.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.695e-05/6.716, allocations: 90.17 kB / 3.524 GB, free: 151.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/6.716, allocations: 111.9 kB / 3.524 GB, free: 151.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/6.719, allocations: 1.221 MB / 3.525 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/6.719, allocations: 0 / 3.525 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/6.719, allocations: 48 kB / 3.525 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/6.719, allocations: 32 kB / 3.525 GB, free: 150.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/6.721, allocations: 1.398 MB / 3.526 GB, free: 148.9 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.006252/6.727, allocations: 3.72 MB / 3.53 GB, free: 145.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/6.729, allocations: 1.161 MB / 3.531 GB, free: 143.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007219/6.73, allocations: 425.4 kB / 3.531 GB, free: 143.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009177/6.731, allocations: 0.5942 MB / 3.532 GB, free: 142.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 4.108e-06/6.731, allocations: 0 / 3.532 GB, free: 142.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=97): time 0.00383/6.735, allocations: 1.525 MB / 3.534 GB, free: 141.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/6.735, allocations: 244.3 kB / 3.534 GB, free: 140.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/6.736, allocations: 0.8013 MB / 3.535 GB, free: 140.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/6.736, allocations: 41.7 kB / 3.535 GB, free: 140.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/6.737, allocations: 0.4925 MB / 3.535 GB, free: 139.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/6.737, allocations: 335.2 kB / 3.535 GB, free: 139.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/6.737, allocations: 12 kB / 3.535 GB, free: 139.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001028/6.737, allocations: 353.9 kB / 3.536 GB, free: 138.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005614/6.738, allocations: 333.8 kB / 3.536 GB, free: 138.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006665/6.738, allocations: 499.7 kB / 3.537 GB, free: 138 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/6.739, allocations: 406.8 kB / 3.537 GB, free: 137.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/6.739, allocations: 0 / 3.537 GB, free: 137.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002158/6.741, allocations: 1.055 MB / 3.538 GB, free: 136.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/6.741, allocations: 8 kB / 3.538 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/6.741, allocations: 0 / 3.538 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006357/6.742, allocations: 88.83 kB / 3.538 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008889/6.743, allocations: 203.7 kB / 3.538 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/6.745, allocations: 1.548 MB / 3.54 GB, free: 134.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/6.746, allocations: 123.1 kB / 3.54 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/6.746, allocations: 35.97 kB / 3.54 GB, free: 134.4 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.0007862/6.747, allocations: 310 kB / 3.54 GB, free: 134.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/6.747, allocations: 114.6 kB / 3.54 GB, free: 134 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/6.75, allocations: 1.437 MB / 3.542 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/6.75, allocations: 12 kB / 3.542 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/6.75, allocations: 0 / 3.542 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/6.75, allocations: 7.969 kB / 3.542 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004432/6.754, allocations: 2.693 MB / 3.544 GB, free: 129.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/6.754, allocations: 0 / 3.544 GB, free: 129.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008774/6.755, allocations: 207.9 kB / 3.545 GB, free: 129.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005471/6.756, allocations: 88.73 kB / 3.545 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.368e-05/6.756, allocations: 35.91 kB / 3.545 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/6.757, allocations: 1.571 MB / 3.546 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/6.757, allocations: 64 / 3.546 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/6.761, allocations: 1.843 MB / 3.548 GB, free: 125.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008426/6.761, allocations: 363.3 kB / 3.548 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/6.762, allocations: 20 kB / 3.548 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008647/6.762, allocations: 87.88 kB / 3.548 GB, free: 125.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/6.763, allocations: 80.78 kB / 3.549 GB, free: 125.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.205e-05/6.763, allocations: 43.97 kB / 3.549 GB, free: 125.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00102/6.764, allocations: 0.6446 MB / 3.549 GB, free: 124.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.81e-07/6.764, allocations: 4 kB / 3.549 GB, free: 124.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002295/6.766, allocations: 0.5811 MB / 3.55 GB, free: 123.9 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.003696/6.77, allocations: 1.898 MB / 3.552 GB, free: 122.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002122/6.772, allocations: 1.011 MB / 3.553 GB, free: 121.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/6.772, allocations: 4.25 kB / 3.553 GB, free: 121.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009887/6.773, allocations: 0.6173 MB / 3.553 GB, free: 120.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/6.775, allocations: 454.1 kB / 3.554 GB, free: 120.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005524/6.781, allocations: 2.998 MB / 3.557 GB, free: 117 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/6.781, allocations: 1.158 MB / 3.558 GB, free: 115.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001628/6.783, allocations: 361 kB / 3.558 GB, free: 115.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/6.783, allocations: 127.4 kB / 3.558 GB, free: 115.3 MB / 1.167 GB Notification: Performance of SimCode: time 2.965e-06/6.783, allocations: 7.938 kB / 3.558 GB, free: 115.3 MB / 1.167 GB Notification: Performance of Templates: time 0.0562/6.84, allocations: 37.55 MB / 3.595 GB, free: 78.02 MB / 1.167 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","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches