Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001339/0.001339, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.001407/0.001407, allocations: 165 kB / 23.82 MB, free: 0.7422 MB / 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.9983/0.9983, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.894/1.894, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.7871 GB, free: 11.36 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.754e-05, allocations: 2.875 kB / 0.7871 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001876/0.001894, allocations: 1.558 MB / 0.7886 GB, free: 9.805 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007229/0.002617, allocations: 485.1 kB / 0.7891 GB, free: 9.328 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.71e-05/0.002674, allocations: 8.688 kB / 0.7891 GB, free: 9.32 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.002705, allocations: 3.938 kB / 0.7891 GB, free: 9.316 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.172e-05/0.002757, allocations: 16.55 kB / 0.7891 GB, free: 9.301 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.002983, allocations: 32.52 kB / 0.7891 GB, free: 9.27 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.003087, allocations: 56.97 kB / 0.7892 GB, free: 9.215 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.123e-05/0.003178, allocations: 11.94 kB / 0.7892 GB, free: 9.203 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.003311, allocations: 43.89 kB / 0.7892 GB, free: 9.16 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.692e-05/0.003368, allocations: 17.52 kB / 0.7893 GB, free: 9.145 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.003384, allocations: 4 kB / 0.7893 GB, free: 9.141 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.988e-05/0.003424, allocations: 7.984 kB / 0.7893 GB, free: 9.133 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.003438, allocations: 11.94 kB / 0.7893 GB, free: 9.121 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.003463, allocations: 15.97 kB / 0.7893 GB, free: 9.105 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.003566, allocations: 41 kB / 0.7893 GB, free: 9.066 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.003568, allocations: 4 kB / 0.7893 GB, free: 9.062 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003569, allocations: 0 / 0.7893 GB, free: 9.062 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003573, allocations: 0.625 kB / 0.7893 GB, free: 9.062 MB / 0.698 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.0003493/0.003922, allocations: 385.5 kB / 0.7897 GB, free: 8.652 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.003961, allocations: 8.031 kB / 0.7897 GB, free: 8.645 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.004091, allocations: 20.88 kB / 0.7897 GB, free: 8.625 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.004233, allocations: 137.3 kB / 0.7899 GB, free: 8.465 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.635e-06/0.00424, allocations: 0.9375 kB / 0.7899 GB, free: 8.465 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.00425, allocations: 384 / 0.7899 GB, free: 8.465 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.00436, allocations: 67.62 kB / 0.7899 GB, free: 8.391 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.004368, allocations: 1.094 kB / 0.7899 GB, free: 8.391 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.004377, allocations: 384 / 0.7899 GB, free: 8.391 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.004384, allocations: 3.938 kB / 0.7899 GB, free: 8.387 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.094e-05/0.004415, allocations: 12.64 kB / 0.79 GB, free: 8.375 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002637/0.004679, allocations: 265.5 kB / 0.7902 GB, free: 8.082 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.058e-05/0.004749, allocations: 38.98 kB / 0.7902 GB, free: 8.031 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/0.004774, allocations: 15.69 kB / 0.7903 GB, free: 8.012 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.004788, allocations: 0 / 0.7903 GB, free: 8.012 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.004806, allocations: 38.92 kB / 0.7903 GB, free: 7.965 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 6.01e-07/0.004806, allocations: 4 kB / 0.7903 GB, free: 7.961 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001428/0.004949, allocations: 45.78 kB / 0.7903 GB, free: 7.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.004974, allocations: 55.34 kB / 0.7904 GB, free: 7.844 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/0.005054, allocations: 186.9 kB / 0.7906 GB, free: 7.645 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.005064, allocations: 25.7 kB / 0.7906 GB, free: 7.613 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.005118, allocations: 142.8 kB / 0.7907 GB, free: 7.469 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.005136, allocations: 11.08 kB / 0.7907 GB, free: 7.461 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.005164, allocations: 23.38 kB / 0.7908 GB, free: 7.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.005265, allocations: 0.4884 MB / 0.7912 GB, free: 6.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.00528, allocations: 4 kB / 0.7912 GB, free: 6.926 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.317e-05/0.005294, allocations: 4 kB / 0.7912 GB, free: 6.922 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.19e-05/0.005326, allocations: 11.97 kB / 0.7913 GB, free: 6.906 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005328, allocations: 0 / 0.7913 GB, free: 6.906 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.197e-05/0.00539, allocations: 57.56 kB / 0.7913 GB, free: 6.844 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.005402, allocations: 8.719 kB / 0.7913 GB, free: 6.836 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.005407, allocations: 3.984 kB / 0.7913 GB, free: 6.832 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.005419, allocations: 4.469 kB / 0.7913 GB, free: 6.828 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.115e-05/0.00548, allocations: 5.375 kB / 0.7913 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.005485, allocations: 0 / 0.7913 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.005505, allocations: 4 kB / 0.7913 GB, free: 6.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.005512, allocations: 3.984 kB / 0.7913 GB, free: 6.816 MB / 0.698 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.681e-05/0.005569, allocations: 161.7 kB / 0.7915 GB, free: 6.648 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.005587, allocations: 7.891 kB / 0.7915 GB, free: 6.641 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.005609, allocations: 12.94 kB / 0.7915 GB, free: 6.629 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.005611, allocations: 0 / 0.7915 GB, free: 6.629 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.005613, allocations: 0 / 0.7915 GB, free: 6.629 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.005616, allocations: 1.656 kB / 0.7915 GB, free: 6.629 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.345e-05/0.00571, allocations: 124.6 kB / 0.7916 GB, free: 6.473 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.005711, allocations: 4 kB / 0.7916 GB, free: 6.469 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.005733, allocations: 8 kB / 0.7917 GB, free: 6.461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.005735, allocations: 1.344 kB / 0.7917 GB, free: 6.461 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.005742, allocations: 3.938 kB / 0.7917 GB, free: 6.457 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.005743, allocations: 0 / 0.7917 GB, free: 6.457 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.005743, allocations: 0 / 0.7917 GB, free: 6.457 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.005844, allocations: 204.3 kB / 0.7919 GB, free: 6.238 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-06/0.00585, allocations: 4.562 kB / 0.7919 GB, free: 6.234 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.00586, allocations: 3.938 kB / 0.7919 GB, free: 6.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.413e-05/0.005894, allocations: 4.562 kB / 0.7919 GB, free: 6.227 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.005928, allocations: 13.33 kB / 0.7919 GB, free: 6.215 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.00593, allocations: 0 / 0.7919 GB, free: 6.215 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.362e-05/0.005974, allocations: 135.2 kB / 0.792 GB, free: 6.082 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.005974, allocations: 0 / 0.792 GB, free: 6.082 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001504/0.006124, allocations: 8.562 kB / 0.792 GB, free: 6.074 MB / 0.698 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.181e-05/0.006186, allocations: 96.94 kB / 0.7921 GB, free: 5.969 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.866e-05/0.006264, allocations: 23.67 kB / 0.7921 GB, free: 5.941 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006266, allocations: 3.938 kB / 0.7921 GB, free: 5.938 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.081e-05/0.006287, allocations: 20.59 kB / 0.7922 GB, free: 5.914 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.006437, allocations: 0 / 0.7922 GB, free: 5.914 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.006943, allocations: 180.7 kB / 0.7923 GB, free: 5.711 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.383e-05/0.006977, allocations: 59.36 kB / 0.7924 GB, free: 5.633 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.068e-05/0.007007, allocations: 0.5 kB / 0.7924 GB, free: 5.633 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.007034, allocations: 13.31 kB / 0.7924 GB, free: 5.621 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/0.007034, allocations: 0 / 0.7924 GB, free: 5.621 MB / 0.698 GB Notification: Performance of Templates: time 0.001758/0.008793, allocations: 486.4 kB / 0.7929 GB, free: 5.168 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.3970768502913415]