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.001546/0.001546, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001529/0.001529, allocations: 169 kB / 23.82 MB, free: 0.7461 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 1.049/1.049, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.805/1.805, allocations: 359 MB / 0.6052 GB, free: 11.02 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 2.014e-06/2.014e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.094e-05, allocations: 6.375 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001949/0.00197, allocations: 1.548 MB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007014/0.002671, allocations: 496.3 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.002739, allocations: 4.625 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.002775, allocations: 3.938 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.593e-05/0.002841, allocations: 17.25 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.003116, allocations: 27.97 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.003251, allocations: 64.77 kB / 0.7892 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.003362, allocations: 8 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.00353, allocations: 39.84 kB / 0.7893 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.071e-05/0.0036, allocations: 13.2 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.003619, allocations: 7.984 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.392e-05/0.003673, allocations: 11.98 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.003688, allocations: 9.188 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.003715, allocations: 11.98 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.00384, allocations: 43.83 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003842, allocations: 1.562 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.283e-06/0.003844, allocations: 0 / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.003848, allocations: 0 / 0.7893 GB, free: 10.19 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.0004047/0.004253, allocations: 388.4 kB / 0.7897 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.004293, allocations: 9.062 kB / 0.7897 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.004461, allocations: 29.94 kB / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.004615, allocations: 124.5 kB / 0.7899 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.004625, allocations: 384 / 0.7899 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.004635, allocations: 5.969 kB / 0.7899 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.004756, allocations: 58.94 kB / 0.7899 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.004764, allocations: 192 / 0.7899 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.004774, allocations: 384 / 0.7899 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.004782, allocations: 13.28 kB / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.327e-05/0.004815, allocations: 11.98 kB / 0.79 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.005179, allocations: 267.8 kB / 0.7902 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.282e-05/0.005252, allocations: 37.89 kB / 0.7903 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.005279, allocations: 15.69 kB / 0.7903 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.005294, allocations: 0 / 0.7903 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.005319, allocations: 41.33 kB / 0.7903 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.00532, allocations: 0 / 0.7903 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001632/0.005483, allocations: 53.67 kB / 0.7904 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.005515, allocations: 51.41 kB / 0.7904 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.539e-05/0.0056, allocations: 184.4 kB / 0.7906 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.005611, allocations: 25.7 kB / 0.7906 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.005659, allocations: 140.5 kB / 0.7907 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.00568, allocations: 15.88 kB / 0.7908 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.005706, allocations: 19.38 kB / 0.7908 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.005818, allocations: 0.4884 MB / 0.7913 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.005834, allocations: 5.75 kB / 0.7913 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33e-05/0.005847, allocations: 4 kB / 0.7913 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.6e-05/0.005883, allocations: 15.69 kB / 0.7913 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.005887, allocations: 3.984 kB / 0.7913 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.54e-05/0.005953, allocations: 49.53 kB / 0.7913 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.005969, allocations: 13.8 kB / 0.7913 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.005974, allocations: 0 / 0.7913 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.005988, allocations: 0 / 0.7913 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.708e-05/0.006055, allocations: 5.688 kB / 0.7913 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.00606, allocations: 0 / 0.7913 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.006081, allocations: 4 kB / 0.7914 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.006088, allocations: 3.984 kB / 0.7914 GB, free: 7.945 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 6.95e-05/0.006158, allocations: 162.4 kB / 0.7915 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.006174, allocations: 7.891 kB / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.006202, allocations: 12.33 kB / 0.7915 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.006205, allocations: 0 / 0.7915 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.006209, allocations: 0.7812 kB / 0.7915 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.006214, allocations: 3.984 kB / 0.7915 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.006318, allocations: 124.6 kB / 0.7917 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.00632, allocations: 4.531 kB / 0.7917 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.006343, allocations: 8.656 kB / 0.7917 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.006345, allocations: 3.938 kB / 0.7917 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.006353, allocations: 4.469 kB / 0.7917 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.006354, allocations: 1.312 kB / 0.7917 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.006354, allocations: 0 / 0.7917 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.006463, allocations: 199.9 kB / 0.7919 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-06/0.006472, allocations: 11.95 kB / 0.7919 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.006485, allocations: 4.469 kB / 0.7919 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.218e-05/0.006517, allocations: 5.375 kB / 0.7919 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.006557, allocations: 7.984 kB / 0.7919 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.006561, allocations: 0 / 0.7919 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.503e-05/0.006606, allocations: 135.2 kB / 0.792 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006606, allocations: 1.156 kB / 0.792 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001384/0.006744, allocations: 8 kB / 0.792 GB, free: 7.195 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 7.786e-05/0.006822, allocations: 96.47 kB / 0.7921 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.006923, allocations: 27.61 kB / 0.7921 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.006925, allocations: 0.8125 kB / 0.7921 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/0.006946, allocations: 15.69 kB / 0.7922 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.007108, allocations: 0.9375 kB / 0.7922 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006132/0.007721, allocations: 184 kB / 0.7923 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/0.007768, allocations: 59.36 kB / 0.7924 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.007796, allocations: 1.938 kB / 0.7924 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.007834, allocations: 12.5 kB / 0.7924 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.007835, allocations: 0 / 0.7924 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of Templates: time 0.002205/0.01004, allocations: 0.4884 MB / 0.7929 GB, free: 6.281 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.203217831905931]