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.485/1.485, allocations: 249.3 MB / 261.9 MB, free: 5.852 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.001185/0.001185, allocations: 178.6 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.00107/0.00107, allocations: 92.28 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.069e-05/4.09e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2238, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9157/1.14, allocations: 132.3 MB / 1.021 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/1.14, allocations: 87.19 kB / 1.021 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003341/1.143, allocations: 1.157 MB / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.773e-06/1.143, allocations: 0 / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.758e-06/1.143, allocations: 4 kB / 1.022 GB, free: 1.367 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.0003668/1.144, allocations: 342.5 kB / 1.023 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.144, allocations: 11.97 kB / 1.023 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/1.144, allocations: 11.53 kB / 1.023 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/1.144, allocations: 171 kB / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/1.144, allocations: 0 / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/1.144, allocations: 4 kB / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/1.144, allocations: 46.75 kB / 1.023 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/1.144, allocations: 0 / 1.023 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/1.144, allocations: 3.984 kB / 1.023 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.144, allocations: 4 kB / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.71e-05/1.144, allocations: 19 kB / 1.023 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/1.145, allocations: 276 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.358e-05/1.145, allocations: 33.08 kB / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/1.145, allocations: 17.94 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/1.145, allocations: 4 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/1.145, allocations: 34.56 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/1.145, allocations: 0 / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001926/1.145, allocations: 52.84 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/1.145, allocations: 51.41 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.753e-05/1.145, allocations: 116.2 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/1.145, allocations: 25.7 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/1.145, allocations: 91.53 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/1.145, allocations: 11.91 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/1.145, allocations: 0 / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.146, allocations: 314.2 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/1.146, allocations: 11.81 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-05/1.146, allocations: 19.83 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/1.146, allocations: 4 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/1.146, allocations: 0 / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.229e-05/1.146, allocations: 62.72 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.146, allocations: 5.875 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.146, allocations: 4 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/1.146, allocations: 0 / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/1.146, allocations: 15.98 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/1.146, allocations: 0.625 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.547e-05/1.146, allocations: 7.938 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/1.146, allocations: 3.953 kB / 1.024 GB, free: 15.5 MB / 0.6511 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 6.801e-05/1.146, allocations: 105 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/1.146, allocations: 7.984 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/1.146, allocations: 11.22 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/1.146, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/1.146, allocations: 0.875 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/1.146, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/1.146, allocations: 175.4 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/1.146, allocations: 0 / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/1.146, allocations: 15.98 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.146, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/1.146, allocations: 4 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.146, allocations: 4 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.146, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/1.147, allocations: 161.8 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/1.147, allocations: 85.02 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/1.147, allocations: 0 / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/1.147, allocations: 4 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/1.147, allocations: 3.984 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/1.147, allocations: 8 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.288e-05/1.147, allocations: 92.45 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/1.147, allocations: 0 / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001964/1.147, allocations: 8 kB / 1.025 GB, free: 14.77 MB / 0.6511 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.0001153/1.147, allocations: 99.23 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.263e-05/1.147, allocations: 26.38 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.147, allocations: 0 / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.089e-05/1.147, allocations: 11.56 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/1.148, allocations: 11.94 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/1.148, allocations: 76.3 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/1.148, allocations: 0.6887 MB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.911e-05/1.148, allocations: 4.312 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/1.148, allocations: 11.44 kB / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of SimCode: time 3.51e-07/1.148, allocations: 0 / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of Templates: time 0.002174/1.15, allocations: 403.5 kB / 1.026 GB, free: 13.44 MB / 0.6511 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