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.365/2.365, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001313/0.001313, allocations: 193.8 kB / 0.4902 GB, free: 2.254 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.805/1.805, allocations: 223.2 MB / 0.7992 GB, free: 15.73 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.001095/0.001096, allocations: 106 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004231/0.0004231, allocations: 10.31 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4082, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.508/1.917, allocations: 375 MB / 1.595 GB, free: 1.598 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/1.917, allocations: 92.48 kB / 1.596 GB, free: 1.547 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.02718/1.944, allocations: 9.787 MB / 1.605 GB, free: 9.531 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.136e-06/1.944, allocations: 0 / 1.605 GB, free: 9.531 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.972e-05/1.944, allocations: 0 / 1.605 GB, free: 9.531 MB / 0.948 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.001306/1.946, allocations: 0.4902 MB / 1.606 GB, free: 9.004 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.177e-05/1.946, allocations: 12.56 kB / 1.606 GB, free: 8.992 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/1.946, allocations: 19.72 kB / 1.606 GB, free: 8.973 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007078/1.947, allocations: 248.9 kB / 1.606 GB, free: 8.703 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/1.947, allocations: 3.75 kB / 1.606 GB, free: 8.703 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/1.947, allocations: 4 kB / 1.606 GB, free: 8.699 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/1.947, allocations: 147.9 kB / 1.606 GB, free: 8.57 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/1.947, allocations: 4 kB / 1.606 GB, free: 8.566 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/1.947, allocations: 7.75 kB / 1.606 GB, free: 8.562 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.955e-05/1.947, allocations: 13.16 kB / 1.606 GB, free: 8.551 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005036/1.948, allocations: 161.7 kB / 1.606 GB, free: 8.422 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/1.949, allocations: 446.2 kB / 1.607 GB, free: 7.996 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000484/1.95, allocations: 178.8 kB / 1.607 GB, free: 7.855 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/1.95, allocations: 15.94 kB / 1.607 GB, free: 7.84 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/1.95, allocations: 30.56 kB / 1.607 GB, free: 7.801 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 2.775e-06/1.95, allocations: 0 / 1.607 GB, free: 7.801 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.001074/1.951, allocations: 326 kB / 1.607 GB, free: 7.535 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/1.951, allocations: 55.41 kB / 1.607 GB, free: 7.469 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/1.951, allocations: 189.3 kB / 1.607 GB, free: 7.301 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/1.951, allocations: 33.45 kB / 1.607 GB, free: 7.266 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/1.951, allocations: 124.7 kB / 1.608 GB, free: 7.164 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/1.951, allocations: 42.48 kB / 1.608 GB, free: 7.129 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/1.951, allocations: 0 / 1.608 GB, free: 7.129 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001895/1.952, allocations: 337.9 kB / 1.608 GB, free: 6.801 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/1.952, allocations: 82.5 kB / 1.608 GB, free: 6.734 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/1.952, allocations: 78.62 kB / 1.608 GB, free: 6.672 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/1.952, allocations: 93.88 kB / 1.608 GB, free: 6.602 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.952, allocations: 0 / 1.608 GB, free: 6.602 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006006/1.953, allocations: 229.9 kB / 1.608 GB, free: 6.406 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/1.953, allocations: 8.734 kB / 1.608 GB, free: 6.398 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.953, allocations: 0 / 1.608 GB, free: 6.398 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/1.953, allocations: 0 / 1.608 GB, free: 6.398 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/1.953, allocations: 47.22 kB / 1.608 GB, free: 6.355 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/1.953, allocations: 3.984 kB / 1.608 GB, free: 6.352 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/1.954, allocations: 19.89 kB / 1.608 GB, free: 6.332 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/1.954, allocations: 4 kB / 1.608 GB, free: 6.328 MB / 0.948 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 () * Number of clocked 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 0.0001696/1.954, allocations: 132.9 kB / 1.609 GB, free: 6.199 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/1.954, allocations: 19.81 kB / 1.609 GB, free: 6.18 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.517e-05/1.954, allocations: 28.42 kB / 1.609 GB, free: 6.164 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/1.954, allocations: 3.984 kB / 1.609 GB, free: 6.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.954, allocations: 4 kB / 1.609 GB, free: 6.156 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.954, allocations: 0 / 1.609 GB, free: 6.156 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/1.954, allocations: 265.5 kB / 1.609 GB, free: 5.883 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.954, allocations: 0 / 1.609 GB, free: 5.883 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/1.955, allocations: 39.91 kB / 1.609 GB, free: 5.844 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/1.955, allocations: 11.98 kB / 1.609 GB, free: 5.832 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/1.955, allocations: 3.438 kB / 1.609 GB, free: 5.832 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/1.955, allocations: 3.953 kB / 1.609 GB, free: 5.828 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.955, allocations: 0 / 1.609 GB, free: 5.828 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/1.955, allocations: 330.6 kB / 1.609 GB, free: 5.531 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/1.956, allocations: 112.3 kB / 1.609 GB, free: 5.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/1.956, allocations: 4 kB / 1.609 GB, free: 5.406 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/1.956, allocations: 19.8 kB / 1.609 GB, free: 5.391 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/1.956, allocations: 19.92 kB / 1.609 GB, free: 5.371 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/1.956, allocations: 0 / 1.609 GB, free: 5.371 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001771/1.956, allocations: 156.5 kB / 1.61 GB, free: 5.246 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/1.956, allocations: 3.938 kB / 1.61 GB, free: 5.242 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003515/1.957, allocations: 51.48 kB / 1.61 GB, free: 5.195 MB / 0.948 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 () * Number of clocked 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.0004095/1.957, allocations: 143.6 kB / 1.61 GB, free: 5.047 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006061/1.958, allocations: 191 kB / 1.61 GB, free: 4.895 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.958, allocations: 0 / 1.61 GB, free: 4.895 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002788/1.958, allocations: 105.5 kB / 1.61 GB, free: 4.809 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/1.958, allocations: 30.23 kB / 1.61 GB, free: 4.789 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/1.959, allocations: 497 kB / 1.61 GB, free: 4.305 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/1.96, allocations: 0.7362 MB / 1.611 GB, free: 3.543 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00022/1.96, allocations: 48.58 kB / 1.611 GB, free: 3.496 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/1.96, allocations: 19.19 kB / 1.611 GB, free: 3.48 MB / 0.948 GB Notification: Performance of SimCode: time 3.91e-07/1.96, allocations: 4 kB / 1.611 GB, free: 3.477 MB / 0.948 GB Notification: Performance of Templates: time 0.006744/1.967, allocations: 2.294 MB / 1.614 GB, free: 1.207 MB / 0.948 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