Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.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_latest_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_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.393/2.393, allocations: 390.5 MB / 398 MB, free: 10.95 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.001466/0.001466, allocations: 182.7 kB / 491.2 MB, free: 1.613 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.923/1.923, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001131/0.001131, allocations: 99.8 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.9e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3895, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.356/1.746, allocations: 374.3 MB / 1.578 GB, free: 7.711 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004036/1.746, allocations: 89.64 kB / 1.578 GB, free: 7.664 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03199/1.778, allocations: 9.636 MB / 1.587 GB, free: 15.89 MB / 1.01 GB Notification: Performance of FrontEnd: time 5.61e-06/1.778, allocations: 0 / 1.587 GB, free: 15.89 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.087e-05/1.778, allocations: 5.906 kB / 1.587 GB, free: 15.89 MB / 1.01 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.0008027/1.779, allocations: 461.9 kB / 1.588 GB, free: 15.4 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/1.779, allocations: 8.031 kB / 1.588 GB, free: 15.39 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.847e-05/1.779, allocations: 27.7 kB / 1.588 GB, free: 15.37 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/1.78, allocations: 240.3 kB / 1.588 GB, free: 15.1 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/1.78, allocations: 0 / 1.588 GB, free: 15.1 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/1.78, allocations: 4 kB / 1.588 GB, free: 15.1 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001946/1.78, allocations: 72.84 kB / 1.588 GB, free: 15.05 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/1.78, allocations: 112.5 kB / 1.588 GB, free: 14.96 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/1.78, allocations: 4 kB / 1.588 GB, free: 14.95 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.133e-05/1.781, allocations: 3.953 kB / 1.588 GB, free: 14.95 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/1.781, allocations: 11.98 kB / 1.588 GB, free: 14.94 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008391/1.781, allocations: 423.1 kB / 1.589 GB, free: 14.54 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/1.782, allocations: 146.8 kB / 1.589 GB, free: 14.43 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/1.782, allocations: 80.81 kB / 1.589 GB, free: 14.38 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/1.782, allocations: 3.984 kB / 1.589 GB, free: 14.37 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/1.782, allocations: 41.77 kB / 1.589 GB, free: 14.32 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/1.782, allocations: 0 / 1.589 GB, free: 14.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0006943/1.783, allocations: 187.4 kB / 1.589 GB, free: 14.17 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/1.783, allocations: 55.41 kB / 1.589 GB, free: 14.1 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/1.783, allocations: 186.7 kB / 1.589 GB, free: 13.94 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/1.783, allocations: 25.7 kB / 1.589 GB, free: 13.91 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.584e-05/1.783, allocations: 119.2 kB / 1.589 GB, free: 13.81 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/1.783, allocations: 38.3 kB / 1.59 GB, free: 13.78 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/1.783, allocations: 3.938 kB / 1.59 GB, free: 13.77 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.783, allocations: 329.3 kB / 1.59 GB, free: 13.45 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/1.783, allocations: 53.78 kB / 1.59 GB, free: 13.41 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/1.784, allocations: 45.98 kB / 1.59 GB, free: 13.39 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/1.784, allocations: 85.48 kB / 1.59 GB, free: 13.32 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.784, allocations: 0 / 1.59 GB, free: 13.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005505/1.784, allocations: 194.4 kB / 1.59 GB, free: 13.16 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.784, allocations: 4 kB / 1.59 GB, free: 13.16 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.784, allocations: 0 / 1.59 GB, free: 13.16 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.413e-05/1.785, allocations: 3.953 kB / 1.59 GB, free: 13.15 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/1.785, allocations: 39.84 kB / 1.59 GB, free: 13.12 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/1.785, allocations: 7.984 kB / 1.59 GB, free: 13.11 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/1.785, allocations: 23.83 kB / 1.59 GB, free: 13.09 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/1.785, allocations: 7.938 kB / 1.59 GB, free: 13.08 MB / 1.01 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 9.329e-05/1.785, allocations: 101 kB / 1.59 GB, free: 12.97 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/1.785, allocations: 19.81 kB / 1.59 GB, free: 12.95 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.086e-05/1.785, allocations: 23.7 kB / 1.59 GB, free: 12.94 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/1.785, allocations: 11.89 kB / 1.59 GB, free: 12.93 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.785, allocations: 0 / 1.59 GB, free: 12.93 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/1.785, allocations: 0 / 1.59 GB, free: 12.93 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/1.786, allocations: 238.2 kB / 1.591 GB, free: 12.69 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.786, allocations: 4 kB / 1.591 GB, free: 12.69 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/1.786, allocations: 31.97 kB / 1.591 GB, free: 12.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/1.786, allocations: 7.984 kB / 1.591 GB, free: 12.65 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/1.786, allocations: 0 / 1.591 GB, free: 12.65 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/1.786, allocations: 4 kB / 1.591 GB, free: 12.64 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.786, allocations: 3.938 kB / 1.591 GB, free: 12.64 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/1.786, allocations: 288.6 kB / 1.591 GB, free: 12.38 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.803e-05/1.787, allocations: 116.2 kB / 1.591 GB, free: 12.25 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/1.787, allocations: 4 kB / 1.591 GB, free: 12.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/1.787, allocations: 19.98 kB / 1.591 GB, free: 12.23 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/1.787, allocations: 7.984 kB / 1.591 GB, free: 12.22 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/1.787, allocations: 7.312 kB / 1.591 GB, free: 12.22 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001183/1.787, allocations: 144.9 kB / 1.591 GB, free: 12.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.4e-07/1.787, allocations: 0 / 1.591 GB, free: 12.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002751/1.787, allocations: 39.95 kB / 1.591 GB, free: 12.06 MB / 1.01 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.0002665/1.788, allocations: 160.8 kB / 1.591 GB, free: 11.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002298/1.788, allocations: 115.4 kB / 1.592 GB, free: 11.82 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.788, allocations: 0 / 1.592 GB, free: 11.82 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/1.788, allocations: 71.47 kB / 1.592 GB, free: 11.77 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/1.788, allocations: 24.3 kB / 1.592 GB, free: 11.76 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/1.789, allocations: 244.3 kB / 1.592 GB, free: 11.52 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/1.789, allocations: 0.7306 MB / 1.593 GB, free: 10.77 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001891/1.789, allocations: 52.66 kB / 1.593 GB, free: 10.71 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/1.789, allocations: 11.44 kB / 1.593 GB, free: 10.7 MB / 1.01 GB Notification: Performance of SimCode: time 2.21e-07/1.789, allocations: 4 kB / 1.593 GB, free: 10.7 MB / 1.01 GB Notification: Performance of Templates: time 0.004997/1.794, allocations: 1.848 MB / 1.594 GB, free: 8.883 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches