Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.556/1.556, allocations: 249.5 MB / 257 MB, free: 6.879 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.001135/0.001135, allocations: 184.8 kB / 316.3 MB, free: 3.246 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.792/1.792, allocations: 205.3 MB / 0.5671 GB, free: 15.93 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.0009456/0.0009456, allocations: 85.84 kB / 0.6714 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.875e-05/1.878e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2178, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8964/1.114, allocations: 355.8 MB / 1.233 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/1.115, allocations: 83.45 kB / 1.233 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02234/1.137, allocations: 9.243 MB / 1.242 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.983e-06/1.137, allocations: 0 / 1.242 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.826e-05/1.137, allocations: 4 kB / 1.242 GB, free: 6.289 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006263/1.138, allocations: 460.5 kB / 1.242 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.138, allocations: 12.03 kB / 1.242 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/1.138, allocations: 24.02 kB / 1.242 GB, free: 5.77 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/1.138, allocations: 236.1 kB / 1.242 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/1.138, allocations: 4 kB / 1.242 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/1.138, allocations: 4 kB / 1.242 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001349/1.138, allocations: 72.86 kB / 1.243 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/1.139, allocations: 111.5 kB / 1.243 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/1.139, allocations: 0 / 1.243 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/1.139, allocations: 0 / 1.243 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/1.139, allocations: 19.64 kB / 1.243 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/1.139, allocations: 426.5 kB / 1.243 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/1.139, allocations: 139.3 kB / 1.243 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/1.14, allocations: 79.91 kB / 1.243 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/1.14, allocations: 3.984 kB / 1.243 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/1.14, allocations: 37.94 kB / 1.243 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/1.14, allocations: 4 kB / 1.243 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0005615/1.14, allocations: 191.2 kB / 1.244 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/1.14, allocations: 54.41 kB / 1.244 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/1.14, allocations: 175.1 kB / 1.244 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/1.14, allocations: 28.95 kB / 1.244 GB, free: 4.32 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/1.141, allocations: 116.7 kB / 1.244 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/1.141, allocations: 46.17 kB / 1.244 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/1.141, allocations: 4 kB / 1.244 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.141, allocations: 329.5 kB / 1.244 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.559e-05/1.141, allocations: 44.73 kB / 1.244 GB, free: 3.832 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.477e-05/1.141, allocations: 57.66 kB / 1.244 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/1.141, allocations: 84.42 kB / 1.244 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.141, allocations: 0 / 1.244 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000391/1.142, allocations: 183.8 kB / 1.245 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.142, allocations: 11.98 kB / 1.245 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/1.142, allocations: 4 kB / 1.245 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/1.142, allocations: 0 / 1.245 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/1.142, allocations: 35.97 kB / 1.245 GB, free: 3.527 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.142, allocations: 3.953 kB / 1.245 GB, free: 3.523 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/1.142, allocations: 23.83 kB / 1.245 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/1.142, allocations: 11.98 kB / 1.245 GB, free: 3.488 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.049e-05/1.142, allocations: 110.4 kB / 1.245 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/1.142, allocations: 15.81 kB / 1.245 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/1.142, allocations: 26.66 kB / 1.245 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.142, allocations: 3.984 kB / 1.245 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.142, allocations: 0 / 1.245 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.142, allocations: 3.953 kB / 1.245 GB, free: 3.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/1.143, allocations: 237.1 kB / 1.245 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.143, allocations: 0 / 1.245 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/1.143, allocations: 39.97 kB / 1.245 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.143, allocations: 0 / 1.245 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/1.143, allocations: 4 kB / 1.245 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/1.143, allocations: 0 / 1.245 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.143, allocations: 7.969 kB / 1.245 GB, free: 3.051 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/1.143, allocations: 296.6 kB / 1.245 GB, free: 2.781 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/1.143, allocations: 119.7 kB / 1.245 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/1.143, allocations: 3.938 kB / 1.245 GB, free: 2.648 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/1.144, allocations: 15.98 kB / 1.246 GB, free: 2.633 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/1.144, allocations: 15.34 kB / 1.246 GB, free: 2.621 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/1.144, allocations: 4 kB / 1.246 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001104/1.144, allocations: 145.2 kB / 1.246 GB, free: 2.496 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.61e-07/1.144, allocations: 4 kB / 1.246 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002722/1.144, allocations: 32 kB / 1.246 GB, free: 2.461 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002733/1.144, allocations: 151 kB / 1.246 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000232/1.145, allocations: 125.9 kB / 1.246 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.145, allocations: 4 kB / 1.246 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.94e-05/1.145, allocations: 65.05 kB / 1.246 GB, free: 2.172 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/1.145, allocations: 31.3 kB / 1.246 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/1.146, allocations: 227.9 kB / 1.246 GB, free: 1.926 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/1.146, allocations: 0.7421 MB / 1.247 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001735/1.146, allocations: 44.72 kB / 1.247 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/1.146, allocations: 19.42 kB / 1.247 GB, free: 1.098 MB / 0.8542 GB Notification: Performance of SimCode: time 2.5e-07/1.146, allocations: 0 / 1.247 GB, free: 1.098 MB / 0.8542 GB Notification: Performance of Templates: time 0.4458/1.592, allocations: 1.84 MB / 1.249 GB, free: 309.6 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches