Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001026/0.001026, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001585/0.001585, allocations: 173 kB / 23.49 MB, free: 1.055 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.9806/0.9806, allocations: 177.1 MB / 203.8 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.048/2.048, allocations: 429.5 MB / 0.6736 GB, free: 4.062 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.095e-06/3.095e-06, allocations: 4 kB / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.552e-05, allocations: 3.062 kB / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002098/0.002123, allocations: 1.576 MB / 0.8797 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006845/0.002808, allocations: 483.1 kB / 0.8802 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.002867, allocations: 4 kB / 0.8802 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.002895, allocations: 8.453 kB / 0.8802 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.202e-05/0.002947, allocations: 16.45 kB / 0.8802 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.003173, allocations: 40.97 kB / 0.8803 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.003295, allocations: 51.73 kB / 0.8803 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.003396, allocations: 11.98 kB / 0.8803 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.003542, allocations: 37 kB / 0.8804 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.003604, allocations: 19.91 kB / 0.8804 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.00362, allocations: 5.031 kB / 0.8804 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.484e-05/0.003665, allocations: 8 kB / 0.8804 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.003679, allocations: 7.938 kB / 0.8804 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.003705, allocations: 17.02 kB / 0.8804 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.00383, allocations: 43.83 kB / 0.8805 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.003834, allocations: 4 kB / 0.8805 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003835, allocations: 1.062 kB / 0.8805 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.00384, allocations: 0 / 0.8805 GB, free: 4.359 MB / 0.8386 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.0003984/0.004238, allocations: 389.5 kB / 0.8808 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.004278, allocations: 12.02 kB / 0.8808 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.004428, allocations: 29.59 kB / 0.8809 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.004579, allocations: 123.9 kB / 0.881 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.004588, allocations: 384 / 0.881 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.004599, allocations: 8.375 kB / 0.881 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.004728, allocations: 58.92 kB / 0.8811 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.004736, allocations: 4.125 kB / 0.8811 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.004746, allocations: 384 / 0.8811 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.004754, allocations: 3.938 kB / 0.8811 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.004789, allocations: 12 kB / 0.8811 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.005076, allocations: 269 kB / 0.8813 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.561e-05/0.005141, allocations: 27.06 kB / 0.8814 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.005168, allocations: 15.69 kB / 0.8814 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.005181, allocations: 5.5 kB / 0.8814 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.005205, allocations: 45.41 kB / 0.8814 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.005206, allocations: 0 / 0.8814 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001638/0.00537, allocations: 49.64 kB / 0.8815 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.005402, allocations: 60.44 kB / 0.8815 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.239e-05/0.005494, allocations: 176.9 kB / 0.8817 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.005505, allocations: 29.69 kB / 0.8817 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.005558, allocations: 140.3 kB / 0.8819 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.005577, allocations: 11.91 kB / 0.8819 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.005606, allocations: 23.36 kB / 0.8819 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.00575, allocations: 0.4884 MB / 0.8824 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.005772, allocations: 7.938 kB / 0.8824 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/0.005787, allocations: 7.984 kB / 0.8824 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.106e-05/0.005828, allocations: 15.69 kB / 0.8824 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.005831, allocations: 4 kB / 0.8824 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.133e-05/0.005902, allocations: 49.58 kB / 0.8824 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.005917, allocations: 4 kB / 0.8824 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.005921, allocations: 0 / 0.8824 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.005933, allocations: 0 / 0.8824 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/0.006008, allocations: 11.98 kB / 0.8825 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.006013, allocations: 0 / 0.8825 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.006036, allocations: 7.938 kB / 0.8825 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.006042, allocations: 0 / 0.8825 GB, free: 2.105 MB / 0.8386 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 6.522e-05/0.006107, allocations: 160.6 kB / 0.8826 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.006123, allocations: 7.938 kB / 0.8826 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.006151, allocations: 8 kB / 0.8826 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.006153, allocations: 3.984 kB / 0.8826 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.006157, allocations: 0 / 0.8826 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.00616, allocations: 4 kB / 0.8826 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.006262, allocations: 124.6 kB / 0.8828 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.006265, allocations: 4 kB / 0.8828 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.857e-05/0.006294, allocations: 11.98 kB / 0.8828 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.006296, allocations: 336 / 0.8828 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.006305, allocations: 7.938 kB / 0.8828 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.006306, allocations: 0 / 0.8828 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006307, allocations: 0 / 0.8828 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.00671, allocations: 195.9 kB / 0.883 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.006721, allocations: 15.95 kB / 0.883 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.006734, allocations: 3.938 kB / 0.883 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.698e-05/0.006771, allocations: 7.984 kB / 0.883 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.006807, allocations: 3.938 kB / 0.883 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-06/0.006811, allocations: 0 / 0.883 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.391e-05/0.006855, allocations: 143.2 kB / 0.8831 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006855, allocations: 0 / 0.8831 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001431/0.006998, allocations: 4 kB / 0.8831 GB, free: 1.348 MB / 0.8386 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 8.232e-05/0.00708, allocations: 95.25 kB / 0.8832 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.585e-05/0.007166, allocations: 23.67 kB / 0.8833 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.007167, allocations: 0 / 0.8833 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-05/0.007191, allocations: 23.61 kB / 0.8833 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.007363, allocations: 2.062 kB / 0.8833 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006554/0.008019, allocations: 174.1 kB / 0.8834 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.811e-05/0.008057, allocations: 59.34 kB / 0.8835 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.415e-05/0.008081, allocations: 4 kB / 0.8835 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.008112, allocations: 12.44 kB / 0.8835 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of SimCode: time 7.61e-07/0.008112, allocations: 0 / 0.8835 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of Templates: time 0.002163/0.01028, allocations: 485.6 kB / 0.884 GB, free: 448 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.32805958786048]