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.001615/0.001615, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001258/0.001258, allocations: 169 kB / 24.28 MB, free: 280 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 1.033/1.033, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.93/1.93, allocations: 377.8 MB / 0.6239 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 177] 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.523e-06/1.523e-06, allocations: 0 / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.693e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001902/0.001919, allocations: 1.569 MB / 0.8131 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007181/0.002638, allocations: 480.2 kB / 0.8135 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.559e-05/0.002703, allocations: 0.5 kB / 0.8135 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.002731, allocations: 4.812 kB / 0.8135 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.304e-05/0.002784, allocations: 19.8 kB / 0.8135 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.003018, allocations: 28.61 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.003131, allocations: 65.25 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.863e-05/0.00322, allocations: 8 kB / 0.8136 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.003351, allocations: 43.83 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.003406, allocations: 15.98 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.003422, allocations: 6.562 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.049e-05/0.003462, allocations: 7.984 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.003475, allocations: 7.938 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.003497, allocations: 15.98 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.0036, allocations: 39.83 kB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003602, allocations: 0 / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003603, allocations: 0 / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.003606, allocations: 0.5312 kB / 0.8138 GB, free: 15.77 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.0003669/0.003973, allocations: 393.1 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.004007, allocations: 8.562 kB / 0.8142 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.004148, allocations: 26.5 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.004321, allocations: 142.4 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.004331, allocations: 384 / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.00434, allocations: 4.359 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.004458, allocations: 63.53 kB / 0.8144 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.004463, allocations: 0.8125 kB / 0.8144 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.004472, allocations: 384 / 0.8144 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.004481, allocations: 8.625 kB / 0.8144 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.25e-05/0.004514, allocations: 7.984 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.004773, allocations: 264.9 kB / 0.8147 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.582e-05/0.004839, allocations: 40.42 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.004865, allocations: 11.69 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.004877, allocations: 0 / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.004899, allocations: 41.33 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.0049, allocations: 1.75 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001537/0.005053, allocations: 53.67 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.005082, allocations: 51.41 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.005308, allocations: 181.9 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.005318, allocations: 26.89 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.005364, allocations: 146.8 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.00538, allocations: 3.953 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.005408, allocations: 19.38 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.005512, allocations: 0.4892 MB / 0.8157 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.005528, allocations: 4 kB / 0.8157 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.287e-05/0.005541, allocations: 6.219 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.478e-05/0.005576, allocations: 15.69 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005577, allocations: 0 / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.329e-05/0.005641, allocations: 57.52 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.005654, allocations: 8 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.005659, allocations: 3.984 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.005672, allocations: 2.875 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/0.005737, allocations: 4 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.005741, allocations: 0 / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.005763, allocations: 4 kB / 0.8158 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.00577, allocations: 3.984 kB / 0.8158 GB, free: 13.52 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.697e-05/0.005827, allocations: 156.6 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.005844, allocations: 9.391 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.267e-05/0.005867, allocations: 12 kB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.005868, allocations: 0 / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.005872, allocations: 0 / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.005875, allocations: 0 / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.633e-05/0.005971, allocations: 129.2 kB / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.005973, allocations: 4.891 kB / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.005996, allocations: 11.94 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.005997, allocations: 4.5 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.006003, allocations: 4.531 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006004, allocations: 0 / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.006005, allocations: 1.344 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.006106, allocations: 203.9 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.006114, allocations: 7.953 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.006126, allocations: 4.719 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.806e-05/0.006164, allocations: 0 / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.006201, allocations: 8.953 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.006203, allocations: 0 / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.006251, allocations: 137.9 kB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006251, allocations: 0.7188 kB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001443/0.006395, allocations: 8 kB / 0.8165 GB, free: 12.77 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.832e-05/0.006463, allocations: 103.1 kB / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.965e-05/0.006543, allocations: 23.61 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.006544, allocations: 0 / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-05/0.006566, allocations: 15.69 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.006721, allocations: 7.938 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/0.007232, allocations: 183.4 kB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.302e-05/0.007265, allocations: 59.34 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.007286, allocations: 5.031 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.007311, allocations: 9.562 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.007312, allocations: 0 / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of Templates: time 0.001903/0.009215, allocations: 481.3 kB / 0.8173 GB, free: 11.86 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.198380447924137]