Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.538/1.538, allocations: 249.5 MB / 257 MB, free: 6.98 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.001389/0.001389, allocations: 183.5 kB / 316.3 MB, free: 3.23 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.8/1.8, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008592/0.0008592, allocations: 98.09 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.602e-05/1.604e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2759, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8833/1.159, allocations: 132.6 MB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/1.16, allocations: 92.92 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003448/1.163, allocations: 1.147 MB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.505e-06/1.163, allocations: 0 / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.155e-06/1.163, allocations: 3.938 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004271/1.164, allocations: 355 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/1.164, allocations: 8.031 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/1.164, allocations: 10.28 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/1.164, allocations: 174.9 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/1.164, allocations: 0 / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/1.164, allocations: 0 / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.899e-05/1.164, allocations: 19.31 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/1.164, allocations: 41.31 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/1.164, allocations: 7.984 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/1.164, allocations: 0 / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/1.164, allocations: 0 / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/1.165, allocations: 246.7 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.725e-05/1.165, allocations: 36.12 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/1.165, allocations: 18.72 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/1.165, allocations: 4 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/1.165, allocations: 34.06 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.165, allocations: 0 / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001898/1.165, allocations: 44.97 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/1.165, allocations: 58.47 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.305e-05/1.165, allocations: 99.98 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/1.165, allocations: 29.7 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/1.165, allocations: 94.36 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/1.165, allocations: 3.906 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-06/1.165, allocations: 4 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.165, allocations: 322.1 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/1.166, allocations: 10.81 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.732e-05/1.166, allocations: 6.938 kB / 1.017 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.825e-05/1.166, allocations: 7.312 kB / 1.017 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.166, allocations: 0 / 1.017 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.853e-05/1.166, allocations: 55.91 kB / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.166, allocations: 8 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.166, allocations: 0 / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/1.166, allocations: 3.984 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/1.166, allocations: 12 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/1.166, allocations: 0 / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/1.166, allocations: 11.92 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/1.166, allocations: 0 / 1.018 GB, free: 2.391 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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.407e-05/1.166, allocations: 104.9 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/1.166, allocations: 8 kB / 1.018 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/1.166, allocations: 7.531 kB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.166, allocations: 4.812 kB / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.166, allocations: 3.938 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/1.166, allocations: 0 / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/1.166, allocations: 165 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.166, allocations: 0 / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.69e-05/1.166, allocations: 12 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/1.166, allocations: 4.172 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/1.166, allocations: 4 kB / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.166, allocations: 4 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.166, allocations: 0 / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/1.167, allocations: 149.1 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/1.167, allocations: 88.97 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/1.167, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.524e-05/1.167, allocations: 7.984 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/1.167, allocations: 8 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/1.167, allocations: 0 / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.256e-05/1.167, allocations: 92.34 kB / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/1.167, allocations: 0 / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002138/1.167, allocations: 8 kB / 1.018 GB, free: 1.676 MB / 0.6355 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 (3): * Single equations (assignments): 3 * 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.0001298/1.167, allocations: 99.19 kB / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.469e-05/1.167, allocations: 18.62 kB / 1.018 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.167, allocations: 0 / 1.018 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.789e-05/1.167, allocations: 19.42 kB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/1.167, allocations: 3.375 kB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/1.168, allocations: 75.53 kB / 1.018 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/1.168, allocations: 0.6885 MB / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.484e-05/1.168, allocations: 3.953 kB / 1.019 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/1.168, allocations: 11.44 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/1.168, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of Templates: time 0.002274/1.17, allocations: 363.2 kB / 1.019 GB, free: 396 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches