Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.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_9_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_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.679/2.679, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001399/0.001399, allocations: 182.2 kB / 498.1 MB, free: 5.684 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.811/1.811, allocations: 223.2 MB / 0.7948 GB, free: 18.88 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.0009936/0.0009939, allocations: 96.34 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 8.312 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3241, allocations: 142.4 MB / 1.223 GB, free: 89.59 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.165/1.489, allocations: 374.5 MB / 1.589 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/1.49, allocations: 93.3 kB / 1.589 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.02709/1.517, allocations: 9.77 MB / 1.598 GB, free: 3.359 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.388e-06/1.517, allocations: 0 / 1.598 GB, free: 3.359 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.703e-05/1.517, allocations: 7.281 kB / 1.598 GB, free: 3.355 MB / 0.9323 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.0009952/1.518, allocations: 0.4897 MB / 1.599 GB, free: 2.828 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/1.518, allocations: 12.03 kB / 1.599 GB, free: 2.816 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.782e-05/1.518, allocations: 19.72 kB / 1.599 GB, free: 2.797 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/1.519, allocations: 248.2 kB / 1.599 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/1.519, allocations: 0 / 1.599 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/1.519, allocations: 4 kB / 1.599 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/1.519, allocations: 146.4 kB / 1.599 GB, free: 2.398 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/1.519, allocations: 0 / 1.599 GB, free: 2.398 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/1.519, allocations: 3.984 kB / 1.599 GB, free: 2.395 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/1.519, allocations: 21.45 kB / 1.599 GB, free: 2.379 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/1.52, allocations: 156.6 kB / 1.599 GB, free: 2.254 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008384/1.52, allocations: 458.8 kB / 1.6 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/1.521, allocations: 179.1 kB / 1.6 GB, free: 1.676 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/1.521, allocations: 11.92 kB / 1.6 GB, free: 1.664 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.521, allocations: 42.05 kB / 1.6 GB, free: 1.617 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=13): time 4.348e-06/1.521, allocations: 4 kB / 1.6 GB, free: 1.613 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13): time 0.0008491/1.522, allocations: 314.7 kB / 1.6 GB, free: 1.352 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/1.522, allocations: 51.41 kB / 1.6 GB, free: 1.289 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/1.522, allocations: 190.3 kB / 1.6 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/1.522, allocations: 25.7 kB / 1.6 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/1.522, allocations: 128.3 kB / 1.601 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.478e-05/1.522, allocations: 42.61 kB / 1.601 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-06/1.522, allocations: 0 / 1.601 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001824/1.522, allocations: 334.3 kB / 1.601 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/1.523, allocations: 78.56 kB / 1.601 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/1.523, allocations: 82.81 kB / 1.601 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/1.523, allocations: 94.56 kB / 1.601 GB, free: 444 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.523, allocations: 0 / 1.601 GB, free: 444 kB / 0.9323 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005222/1.524, allocations: 236.5 kB / 1.601 GB, free: 236 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.524, allocations: 11.95 kB / 1.601 GB, free: 224 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.524, allocations: 0 / 1.601 GB, free: 224 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.524, allocations: 0 / 1.601 GB, free: 224 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/1.524, allocations: 43.64 kB / 1.601 GB, free: 184 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.524, allocations: 0 / 1.601 GB, free: 184 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/1.524, allocations: 19.98 kB / 1.602 GB, free: 164 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/1.524, allocations: 4 kB / 1.602 GB, free: 160 kB / 0.9323 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.0001288/1.524, allocations: 136.8 kB / 1.602 GB, free: 24 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/1.524, allocations: 19.81 kB / 1.602 GB, free: 4 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.143e-05/1.525, allocations: 32.41 kB / 1.602 GB, free: 15.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.525, allocations: 3.938 kB / 1.602 GB, free: 15.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/1.525, allocations: 4 kB / 1.602 GB, free: 15.97 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.525, allocations: 0 / 1.602 GB, free: 15.97 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/1.525, allocations: 263.4 kB / 1.602 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.525, allocations: 0 / 1.602 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/1.525, allocations: 43.89 kB / 1.602 GB, free: 15.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.525, allocations: 3.938 kB / 1.602 GB, free: 15.66 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/1.525, allocations: 4 kB / 1.602 GB, free: 15.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.525, allocations: 3.953 kB / 1.602 GB, free: 15.65 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.525, allocations: 0 / 1.602 GB, free: 15.65 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/1.526, allocations: 335.1 kB / 1.602 GB, free: 15.35 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/1.526, allocations: 111.7 kB / 1.602 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/1.526, allocations: 0 / 1.602 GB, free: 15.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/1.526, allocations: 19.8 kB / 1.602 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/1.526, allocations: 15.92 kB / 1.602 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/1.526, allocations: 7.5 kB / 1.602 GB, free: 15.19 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001466/1.526, allocations: 161.9 kB / 1.603 GB, free: 15.05 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/1.526, allocations: 0 / 1.603 GB, free: 15.05 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002976/1.527, allocations: 47.5 kB / 1.603 GB, free: 15.01 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.0002675/1.527, allocations: 134.9 kB / 1.603 GB, free: 14.87 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005139/1.528, allocations: 195.8 kB / 1.603 GB, free: 14.71 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.528, allocations: 0 / 1.603 GB, free: 14.71 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/1.528, allocations: 105.9 kB / 1.603 GB, free: 14.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/1.528, allocations: 27.67 kB / 1.603 GB, free: 14.61 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008916/1.529, allocations: 493.9 kB / 1.604 GB, free: 14.13 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/1.529, allocations: 0.7432 MB / 1.604 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001914/1.53, allocations: 48.58 kB / 1.604 GB, free: 13.32 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/1.53, allocations: 15.44 kB / 1.604 GB, free: 13.3 MB / 0.948 GB Notification: Performance of SimCode: time 3.1e-07/1.53, allocations: 0 / 1.604 GB, free: 13.3 MB / 0.948 GB Notification: Performance of Templates: time 0.006176/1.536, allocations: 2.295 MB / 1.607 GB, free: 11.03 MB / 0.948 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches