Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001013/0.001013, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.0009833/0.0009833, allocations: 168.2 kB / 24.86 MB, free: 8.867 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.2 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.925/1.925, allocations: 377.9 MB / 0.6247 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.8128 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.757e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00338/0.003407, allocations: 1.563 MB / 0.8143 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0008757/0.004283, allocations: 483.9 kB / 0.8148 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.00435, allocations: 0.6875 kB / 0.8148 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.00438, allocations: 4.531 kB / 0.8148 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.926e-05/0.004449, allocations: 20.92 kB / 0.8148 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.00468, allocations: 35.88 kB / 0.8148 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.004806, allocations: 59.73 kB / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.762e-05/0.004894, allocations: 8.859 kB / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.005055, allocations: 39.84 kB / 0.8149 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.532e-05/0.00512, allocations: 21.19 kB / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.005135, allocations: 0 / 0.8149 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.324e-05/0.005178, allocations: 8 kB / 0.815 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.005194, allocations: 13.36 kB / 0.815 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.005216, allocations: 12 kB / 0.815 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.00533, allocations: 43.81 kB / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.005333, allocations: 0 / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.202e-06/0.005334, allocations: 1.531 kB / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.005338, allocations: 0 / 0.815 GB, free: 15.17 MB / 0.7761 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.0003695/0.005708, allocations: 392.3 kB / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.005742, allocations: 13.31 kB / 0.8154 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.005897, allocations: 20.88 kB / 0.8154 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.006049, allocations: 133.5 kB / 0.8156 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.006058, allocations: 4.375 kB / 0.8156 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.006069, allocations: 4.375 kB / 0.8156 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.006174, allocations: 62.92 kB / 0.8156 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.006181, allocations: 192 / 0.8156 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.00619, allocations: 5.75 kB / 0.8156 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.006197, allocations: 3.938 kB / 0.8156 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.55e-05/0.006223, allocations: 4 kB / 0.8156 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/0.006487, allocations: 253.7 kB / 0.8159 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.474e-05/0.006552, allocations: 35 kB / 0.8159 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.006573, allocations: 11.75 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.006587, allocations: 4.594 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.006608, allocations: 34.02 kB / 0.816 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.006609, allocations: 0 / 0.816 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001476/0.006757, allocations: 59.58 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.006787, allocations: 55.39 kB / 0.8161 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.971e-05/0.006877, allocations: 173.9 kB / 0.8162 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.006891, allocations: 29.7 kB / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.006953, allocations: 142.8 kB / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.006973, allocations: 8.484 kB / 0.8164 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.007005, allocations: 15.38 kB / 0.8164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.007145, allocations: 0.493 MB / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.00716, allocations: 1.375 kB / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.423e-05/0.007175, allocations: 4 kB / 0.8169 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.007213, allocations: 23.61 kB / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.007215, allocations: 0 / 0.8169 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.713e-05/0.007292, allocations: 46.27 kB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.007306, allocations: 10.44 kB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.007311, allocations: 5.094 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.106e-06/0.007319, allocations: 0 / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.484e-05/0.007384, allocations: 4 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.007387, allocations: 0.75 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.301e-05/0.00742, allocations: 12.7 kB / 0.817 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.007425, allocations: 0 / 0.817 GB, free: 12.96 MB / 0.7761 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.229e-05/0.007498, allocations: 157.4 kB / 0.8172 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.007524, allocations: 7.953 kB / 0.8172 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.007548, allocations: 16.88 kB / 0.8172 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.00755, allocations: 0 / 0.8172 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.007551, allocations: 1.344 kB / 0.8172 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.007554, allocations: 0 / 0.8172 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.007683, allocations: 101.2 kB / 0.8173 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.007684, allocations: 3.938 kB / 0.8173 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.007726, allocations: 12.95 kB / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.007729, allocations: 336 / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-06/0.007734, allocations: 0 / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.007738, allocations: 10.25 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.007741, allocations: 3.938 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.007969, allocations: 199.9 kB / 0.8175 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.007987, allocations: 7.953 kB / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.007998, allocations: 3.984 kB / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.008105, allocations: 4 kB / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.00813, allocations: 7.375 kB / 0.8175 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.008135, allocations: 0 / 0.8175 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.758e-05/0.008182, allocations: 135.2 kB / 0.8176 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.008182, allocations: 4 kB / 0.8177 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001417/0.008324, allocations: 4 kB / 0.8177 GB, free: 12.24 MB / 0.7761 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 9.043e-05/0.008414, allocations: 103.2 kB / 0.8178 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.889e-05/0.008483, allocations: 19.67 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.008484, allocations: 0.75 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-05/0.008502, allocations: 15.69 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.008646, allocations: 8.438 kB / 0.8178 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.009089, allocations: 184.5 kB / 0.818 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.15e-05/0.00912, allocations: 56.45 kB / 0.818 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.278e-05/0.009143, allocations: 7.984 kB / 0.818 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.009183, allocations: 66.86 kB / 0.8181 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.009184, allocations: 4 kB / 0.8181 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of Templates: time 0.001778/0.01096, allocations: 0.5074 MB / 0.8186 GB, free: 11.24 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.0925372261554]