Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009823/0.0009823, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000977/0.000977, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9045/0.9045, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.878/1.878, allocations: 377.9 MB / 0.6239 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.541e-05, allocations: 3.078 kB / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001801/0.001816, allocations: 1.565 MB / 0.8135 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0005923/0.002408, allocations: 492.6 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.002462, allocations: 1.406 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.5e-05/0.002487, allocations: 7.922 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.007e-05/0.002537, allocations: 7.875 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.002731, allocations: 32.67 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.4e-05/0.002825, allocations: 64.62 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.805e-05/0.002903, allocations: 7.938 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.00301, allocations: 40.55 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.073e-05/0.003061, allocations: 15.97 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.003074, allocations: 8.5 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.005e-05/0.003114, allocations: 9.25 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.003125, allocations: 4 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.003146, allocations: 23.91 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.5e-05/0.003231, allocations: 35.84 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003233, allocations: 2.25 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003233, allocations: 0 / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.785e-06/0.003236, allocations: 0 / 0.8143 GB, free: 15.15 MB / 0.7761 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.0003146/0.003551, allocations: 388.4 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.003584, allocations: 12.03 kB / 0.8146 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.0037, allocations: 25.58 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.003808, allocations: 138 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.003815, allocations: 4.375 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-06/0.00382, allocations: 384 / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.171e-05/0.003902, allocations: 56.08 kB / 0.8148 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-06/0.003906, allocations: 192 / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-06/0.003912, allocations: 384 / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.003918, allocations: 12.52 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.844e-05/0.003936, allocations: 4 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.004151, allocations: 249.5 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.897e-05/0.0042, allocations: 35.05 kB / 0.8151 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.004218, allocations: 17.16 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.004234, allocations: 0 / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.00425, allocations: 33.39 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 2.204e-06/0.004252, allocations: 0.5312 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001133/0.004366, allocations: 57.61 kB / 0.8152 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.004389, allocations: 51.91 kB / 0.8153 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/0.004458, allocations: 182.4 kB / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.004468, allocations: 29.7 kB / 0.8155 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.00451, allocations: 135.7 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.004527, allocations: 15.88 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.004551, allocations: 16.19 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.004653, allocations: 0.4962 MB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/0.004663, allocations: 0.5312 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.004e-05/0.004673, allocations: 5.375 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.397e-05/0.004697, allocations: 11.69 kB / 0.8162 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.004698, allocations: 0 / 0.8162 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.168e-05/0.00475, allocations: 53.91 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.00476, allocations: 9.188 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.004765, allocations: 4 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.004774, allocations: 0 / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.22e-05/0.004826, allocations: 8.641 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.004828, allocations: 0 / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.004846, allocations: 4.719 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.004851, allocations: 3.938 kB / 0.8162 GB, free: 12.93 MB / 0.7761 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.004907, allocations: 157.1 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.004923, allocations: 13.34 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.004946, allocations: 15.94 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.004947, allocations: 0 / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.004948, allocations: 0.8438 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.004951, allocations: 0 / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.758e-05/0.005039, allocations: 109.2 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-07/0.005039, allocations: 1.312 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.005059, allocations: 4 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.00506, allocations: 7.984 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.005065, allocations: 4.438 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.005066, allocations: 0.7188 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.005067, allocations: 3.938 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.056e-05/0.005158, allocations: 193.6 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.214e-06/0.005165, allocations: 7.953 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-06/0.005173, allocations: 0 / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.398e-05/0.005207, allocations: 4 kB / 0.8167 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.005236, allocations: 11.92 kB / 0.8167 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.005238, allocations: 0.875 kB / 0.8167 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.745e-05/0.005275, allocations: 137 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005275, allocations: 3.469 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001316/0.005407, allocations: 8 kB / 0.8169 GB, free: 12.22 MB / 0.7761 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.21e-05/0.005469, allocations: 95.25 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.824e-05/0.005527, allocations: 23.61 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005528, allocations: 0 / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.892e-05/0.005547, allocations: 19.67 kB / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.005689, allocations: 4 kB / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.006096, allocations: 176.4 kB / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.006131, allocations: 60.25 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.88e-05/0.00615, allocations: 4 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.00619, allocations: 66.86 kB / 0.8173 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of SimCode: time 3.91e-07/0.006191, allocations: 2.094 kB / 0.8173 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of Templates: time 0.001707/0.007897, allocations: 0.508 MB / 0.8178 GB, free: 11.22 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.03217207826674]