Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 249.5 MB / 257 MB, free: 6.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 187.4 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 95.58 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.874e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2024, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.793/5.995, allocations: 2.22 GB / 3.105 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/5.996, allocations: 87.95 kB / 3.105 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.397/7.392, allocations: 379 MB / 3.475 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.759e-06/7.392, allocations: 0 / 3.475 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001271/7.393, allocations: 35.83 kB / 3.475 GB, free: 146.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003195/7.396, allocations: 1.506 MB / 3.477 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/7.396, allocations: 12.56 kB / 3.477 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/7.398, allocations: 341.9 kB / 3.477 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/7.4, allocations: 1.115 MB / 3.478 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.741e-05/7.4, allocations: 39.94 kB / 3.478 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/7.401, allocations: 64 kB / 3.478 GB, free: 143 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001803/7.402, allocations: 1.269 MB / 3.479 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/7.404, allocations: 1.015 MB / 3.48 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/7.404, allocations: 0 / 3.48 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.048e-05/7.404, allocations: 4 kB / 3.48 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/7.404, allocations: 24 kB / 3.48 GB, free: 140.7 MB / 0.8698 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.005003/7.409, allocations: 3.523 MB / 3.484 GB, free: 137 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/7.41, allocations: 1.049 MB / 3.485 GB, free: 136 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/7.411, allocations: 380.8 kB / 3.485 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006204/7.412, allocations: 420.5 kB / 3.486 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006901/7.412, allocations: 0.5425 MB / 3.486 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=97): time 2.975e-06/7.412, allocations: 0 / 3.486 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97): time 0.002579/7.415, allocations: 1.027 MB / 3.487 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/7.415, allocations: 248.1 kB / 3.487 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006978/7.416, allocations: 0.6056 MB / 3.488 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/7.416, allocations: 29.7 kB / 3.488 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/7.416, allocations: 0.5 MB / 3.489 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/7.416, allocations: 315 kB / 3.489 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/7.416, allocations: 0 / 3.489 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/7.416, allocations: 342 kB / 3.489 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/7.417, allocations: 294.5 kB / 3.489 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/7.417, allocations: 448.5 kB / 3.49 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/7.418, allocations: 482.1 kB / 3.49 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/7.418, allocations: 0 / 3.49 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002099/7.42, allocations: 1.055 MB / 3.491 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/7.42, allocations: 4 kB / 3.491 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/7.42, allocations: 0 / 3.491 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/7.421, allocations: 88.89 kB / 3.491 GB, free: 129 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008202/7.422, allocations: 215.6 kB / 3.492 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/7.423, allocations: 1.465 MB / 3.493 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008106/7.424, allocations: 87.38 kB / 3.493 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-05/7.424, allocations: 35.98 kB / 3.493 GB, free: 127.1 MB / 0.8698 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.0002196/7.424, allocations: 135.3 kB / 3.493 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/7.425, allocations: 98.78 kB / 3.493 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002782/7.427, allocations: 1.393 MB / 3.495 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/7.427, allocations: 12 kB / 3.495 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/7.427, allocations: 0 / 3.495 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/7.427, allocations: 3.984 kB / 3.495 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003941/7.431, allocations: 2.503 MB / 3.497 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/7.431, allocations: 0 / 3.497 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008018/7.432, allocations: 199.7 kB / 3.497 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004583/7.433, allocations: 88.86 kB / 3.498 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/7.433, allocations: 15.98 kB / 3.498 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/7.434, allocations: 1.497 MB / 3.499 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/7.434, allocations: 7.984 kB / 3.499 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/7.437, allocations: 1.761 MB / 3.501 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005798/7.438, allocations: 335.5 kB / 3.501 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/7.438, allocations: 4 kB / 3.501 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008355/7.439, allocations: 79.77 kB / 3.501 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/7.439, allocations: 81.22 kB / 3.501 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.696e-05/7.439, allocations: 43.98 kB / 3.501 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006148/7.439, allocations: 0.4913 MB / 3.502 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.3e-07/7.439, allocations: 0 / 3.502 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001645/7.441, allocations: 0.5046 MB / 3.502 GB, free: 117.6 MB / 0.8698 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.003229/7.444, allocations: 1.955 MB / 3.504 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001516/7.446, allocations: 0.8943 MB / 3.505 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/7.446, allocations: 0 / 3.505 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007148/7.447, allocations: 0.5654 MB / 3.506 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/7.448, allocations: 355.7 kB / 3.506 GB, free: 114 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/7.453, allocations: 1.896 MB / 3.508 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/7.453, allocations: 1.153 MB / 3.509 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001312/7.454, allocations: 355.7 kB / 3.509 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/7.455, allocations: 119.4 kB / 3.509 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.512e-06/7.455, allocations: 0 / 3.509 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.03915/7.494, allocations: 25.72 MB / 3.534 GB, free: 84.86 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_Outside.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches