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.001281/0.001281, allocations: 81.95 kB / 21.47 MB, free: 3.031 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: 166.2 kB / 24.87 MB, free: 8.891 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.9812/0.9812, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.968/1.968, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 177] 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.513e-06/1.513e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.666e-05, allocations: 3.188 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002167/0.002193, allocations: 1.564 MB / 0.7898 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007005/0.002894, allocations: 488.9 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.002966, allocations: 1.031 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.002999, allocations: 3.938 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.456e-05/0.003063, allocations: 12.75 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.003301, allocations: 39.88 kB / 0.7904 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.003414, allocations: 52.45 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.098e-05/0.003505, allocations: 7.984 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.003654, allocations: 45.36 kB / 0.7905 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.003721, allocations: 15.98 kB / 0.7905 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.00374, allocations: 4 kB / 0.7905 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.381e-05/0.003784, allocations: 4 kB / 0.7905 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.003802, allocations: 17.14 kB / 0.7905 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.003823, allocations: 8 kB / 0.7905 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.003933, allocations: 47.75 kB / 0.7906 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.003935, allocations: 0.5 kB / 0.7906 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003936, allocations: 6.844 kB / 0.7906 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.003941, allocations: 0 / 0.7906 GB, free: 9.926 MB / 0.7448 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.0003769/0.004318, allocations: 388.4 kB / 0.7909 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.004357, allocations: 8.031 kB / 0.7909 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.004507, allocations: 28.88 kB / 0.791 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.004657, allocations: 120.6 kB / 0.7911 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.004666, allocations: 1.75 kB / 0.7911 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.004675, allocations: 8.375 kB / 0.7911 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.00478, allocations: 54.94 kB / 0.7911 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.004787, allocations: 0.7812 kB / 0.7911 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.004794, allocations: 384 / 0.7911 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.0048, allocations: 4.656 kB / 0.7911 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.07e-05/0.004821, allocations: 7.938 kB / 0.7912 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.005075, allocations: 258.5 kB / 0.7914 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.39e-05/0.005139, allocations: 31.12 kB / 0.7914 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.00516, allocations: 11.69 kB / 0.7914 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.005174, allocations: 3.938 kB / 0.7914 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.005197, allocations: 41.95 kB / 0.7915 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005198, allocations: 0 / 0.7915 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001432/0.005341, allocations: 54.34 kB / 0.7915 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.005373, allocations: 56.09 kB / 0.7916 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.005459, allocations: 177.9 kB / 0.7918 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.005468, allocations: 26.61 kB / 0.7918 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.005524, allocations: 138.9 kB / 0.7919 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.005544, allocations: 7.891 kB / 0.7919 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.005579, allocations: 28.73 kB / 0.792 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.005706, allocations: 496.1 kB / 0.7924 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.005724, allocations: 4 kB / 0.7924 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.101e-05/0.005735, allocations: 5.75 kB / 0.7924 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.005767, allocations: 23.94 kB / 0.7925 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.005769, allocations: 0 / 0.7925 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.865e-05/0.005838, allocations: 53.64 kB / 0.7925 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.005851, allocations: 7.938 kB / 0.7925 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.005855, allocations: 1.719 kB / 0.7925 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.005864, allocations: 0 / 0.7925 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.005927, allocations: 4 kB / 0.7925 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.00593, allocations: 4 kB / 0.7925 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.005956, allocations: 4.797 kB / 0.7925 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.005962, allocations: 0 / 0.7925 GB, free: 7.719 MB / 0.7448 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 7.11e-05/0.006033, allocations: 166.8 kB / 0.7927 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.006053, allocations: 7.953 kB / 0.7927 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.006077, allocations: 11.94 kB / 0.7927 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006079, allocations: 0 / 0.7927 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.006081, allocations: 0 / 0.7927 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006084, allocations: 0 / 0.7927 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.006186, allocations: 103.3 kB / 0.7928 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.006188, allocations: 0 / 0.7928 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-05/0.006218, allocations: 11.98 kB / 0.7928 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.00622, allocations: 0 / 0.7928 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.006225, allocations: 4 kB / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006226, allocations: 0 / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.006228, allocations: 4.438 kB / 0.7928 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.006519, allocations: 200.3 kB / 0.793 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.006527, allocations: 3.953 kB / 0.793 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.006541, allocations: 13.83 kB / 0.793 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.006575, allocations: 0 / 0.793 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.006608, allocations: 7.938 kB / 0.793 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.006613, allocations: 7.984 kB / 0.7931 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.578e-05/0.006659, allocations: 133.7 kB / 0.7932 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006659, allocations: 2.469 kB / 0.7932 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001424/0.006801, allocations: 8 kB / 0.7932 GB, free: 7 MB / 0.7448 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.919e-05/0.006891, allocations: 95.25 kB / 0.7933 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.576e-05/0.006966, allocations: 19.67 kB / 0.7933 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.006968, allocations: 0.5312 kB / 0.7933 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.166e-05/0.006989, allocations: 19.62 kB / 0.7933 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.007145, allocations: 5.156 kB / 0.7933 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004883/0.007633, allocations: 175.7 kB / 0.7935 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.524e-05/0.007668, allocations: 55.38 kB / 0.7935 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.59e-05/0.007694, allocations: 9.109 kB / 0.7936 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.007738, allocations: 67.05 kB / 0.7936 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of SimCode: time 8.51e-07/0.007739, allocations: 0 / 0.7936 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of Templates: time 0.002189/0.009927, allocations: 0.515 MB / 0.7941 GB, free: 6.004 MB / 0.7448 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.47185034211725]