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.001015/0.001015, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009899/0.0009899, allocations: 181 kB / 23.36 MB, free: 1.133 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.9839/0.9839, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.349/2.349, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.703e-06/1.703e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.355e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001984/0.002008, allocations: 1.576 MB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006705/0.002678, allocations: 486.7 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.193e-05/0.00274, allocations: 0 / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.00277, allocations: 3.938 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.426e-05/0.002834, allocations: 19.8 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.003057, allocations: 31.89 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.003173, allocations: 59.72 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.92e-05/0.003252, allocations: 8 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.003386, allocations: 47.83 kB / 0.8408 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.012e-05/0.003446, allocations: 15.98 kB / 0.8408 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.00346, allocations: 0 / 0.8408 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.348e-05/0.003503, allocations: 11.98 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.003517, allocations: 7.938 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.003539, allocations: 19.97 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.003649, allocations: 35.84 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003651, allocations: 0 / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003652, allocations: 0 / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.003656, allocations: 3.938 kB / 0.8408 GB, free: 11.92 MB / 0.8073 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.0002623/0.003918, allocations: 272.7 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.003947, allocations: 8.625 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.004061, allocations: 28.89 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.004162, allocations: 113.8 kB / 0.8413 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.004169, allocations: 384 / 0.8413 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.004178, allocations: 4.375 kB / 0.8413 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.838e-05/0.004256, allocations: 58.94 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.069e-06/0.004261, allocations: 192 / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.004268, allocations: 384 / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.004274, allocations: 7.938 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.495e-05/0.004299, allocations: 11.92 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.004467, allocations: 164.2 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.344e-05/0.004521, allocations: 22.58 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.004539, allocations: 12.92 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.004548, allocations: 3.938 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.004564, allocations: 30.66 kB / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 6.61e-07/0.004565, allocations: 0 / 0.8416 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 8.927e-05/0.004654, allocations: 53.55 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.004679, allocations: 51.41 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.68e-05/0.004736, allocations: 129.9 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.004745, allocations: 25.7 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.004777, allocations: 96.06 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.004792, allocations: 3.953 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.004814, allocations: 17.7 kB / 0.8419 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.565e-05/0.00488, allocations: 318.8 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-06/0.004888, allocations: 0 / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.004898, allocations: 4 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.453e-05/0.004922, allocations: 20.77 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.004924, allocations: 0 / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.001e-05/0.004964, allocations: 45.97 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.004974, allocations: 4 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.004978, allocations: 3.938 kB / 0.8423 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.004986, allocations: 48 / 0.8423 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.723e-05/0.005033, allocations: 15.97 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.005036, allocations: 0 / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.005054, allocations: 8 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.00506, allocations: 4 kB / 0.8423 GB, free: 10.25 MB / 0.8073 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.439e-05/0.005115, allocations: 105.8 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.005129, allocations: 7.984 kB / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.753e-05/0.005147, allocations: 15.94 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.005148, allocations: 0 / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.005149, allocations: 4 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.005152, allocations: 3.938 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.439e-05/0.005236, allocations: 77.83 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005237, allocations: 0 / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.982e-05/0.005257, allocations: 7.984 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.005259, allocations: 4 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-06/0.005262, allocations: 0 / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.1e-07/0.005262, allocations: 0 / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.005264, allocations: 3.938 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.521e-05/0.005329, allocations: 139.5 kB / 0.8427 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-06/0.005335, allocations: 0 / 0.8427 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.005344, allocations: 8 kB / 0.8427 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.155e-05/0.005375, allocations: 3.984 kB / 0.8427 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.005397, allocations: 7.938 kB / 0.8427 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.0054, allocations: 0 / 0.8427 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.522e-05/0.005416, allocations: 16.84 kB / 0.8427 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005416, allocations: 3.938 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001157/0.005531, allocations: 8 kB / 0.8427 GB, free: 9.797 MB / 0.8073 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 5.39e-05/0.005585, allocations: 80.42 kB / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.419e-05/0.005629, allocations: 24.83 kB / 0.8428 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.005631, allocations: 0 / 0.8428 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-05/0.005645, allocations: 12.84 kB / 0.8428 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.111e-05/0.005736, allocations: 4 kB / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.006141, allocations: 180.2 kB / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.059e-05/0.006172, allocations: 59.34 kB / 0.8431 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.959e-05/0.006191, allocations: 4 kB / 0.8431 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.00623, allocations: 55.36 kB / 0.8431 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of SimCode: time 1.122e-06/0.006231, allocations: 0 / 0.8431 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of Templates: time 0.001905/0.008136, allocations: 460.8 kB / 0.8436 GB, free: 8.887 MB / 0.8073 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.330460918135941]