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.001162/0.001162, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.002161/0.002161, allocations: 161 kB / 23.82 MB, free: 0.7539 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.052/1.052, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.992/1.992, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.984e-06/1.984e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.54e-05/3.738e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002914/0.002952, allocations: 1.581 MB / 0.8131 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008416/0.003793, allocations: 490 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.003874, allocations: 0 / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.003916, allocations: 3.938 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.51e-05/0.003991, allocations: 17.39 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.004305, allocations: 35.89 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.004443, allocations: 55.73 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.004565, allocations: 11.97 kB / 0.8137 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.004733, allocations: 40.38 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.004805, allocations: 17.64 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.004824, allocations: 4 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.15e-05/0.004876, allocations: 8 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.004895, allocations: 19.84 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.004922, allocations: 8.656 kB / 0.8138 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.00506, allocations: 43.83 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.005063, allocations: 1.219 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.202e-06/0.005064, allocations: 0 / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.005069, allocations: 0 / 0.8138 GB, free: 15.43 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.0004763/0.005545, allocations: 393.5 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.005593, allocations: 12.03 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.005792, allocations: 22.25 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.005969, allocations: 128.5 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.00598, allocations: 384 / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.005993, allocations: 6.125 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.006143, allocations: 58.94 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.006155, allocations: 4.125 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.006166, allocations: 384 / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.006179, allocations: 9.281 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.789e-05/0.006217, allocations: 4 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.00658, allocations: 271.8 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.236e-05/0.006662, allocations: 33.38 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.006695, allocations: 15.7 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.006712, allocations: 4 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.006739, allocations: 45.27 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.00674, allocations: 0 / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001943/0.006935, allocations: 49.64 kB / 0.8148 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.006964, allocations: 53.44 kB / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.007073, allocations: 183.8 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.007084, allocations: 25.7 kB / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.007145, allocations: 138.8 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.007168, allocations: 7.953 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.007208, allocations: 23.86 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.007357, allocations: 496.6 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-05/0.007386, allocations: 7.938 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.007405, allocations: 5.891 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.243e-05/0.007457, allocations: 19.69 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.00746, allocations: 0 / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001057/0.007566, allocations: 53.58 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.007584, allocations: 4 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.00759, allocations: 2.406 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.00761, allocations: 0 / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.869e-05/0.007709, allocations: 11.98 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.007716, allocations: 3.938 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.007746, allocations: 4 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.007754, allocations: 4 kB / 0.8158 GB, free: 13.18 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 8.688e-05/0.007841, allocations: 153.3 kB / 0.816 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.007874, allocations: 17.05 kB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/0.007918, allocations: 7.984 kB / 0.816 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.007923, allocations: 4 kB / 0.816 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.007928, allocations: 0.5625 kB / 0.816 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.007933, allocations: 0 / 0.816 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.008093, allocations: 129.4 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008095, allocations: 0 / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.008146, allocations: 8.828 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.008151, allocations: 4 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.008162, allocations: 5.719 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.008164, allocations: 0 / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.008165, allocations: 0 / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.008352, allocations: 200.2 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.008364, allocations: 7.891 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.008383, allocations: 4.75 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.008452, allocations: 7.984 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.008509, allocations: 9.156 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.008514, allocations: 0 / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.092e-05/0.008595, allocations: 135.2 kB / 0.8165 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008595, allocations: 1.031 kB / 0.8165 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002544/0.008849, allocations: 12 kB / 0.8165 GB, free: 12.43 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 0.0001792/0.009029, allocations: 100.4 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.009168, allocations: 15.69 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.009171, allocations: 0.875 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.344e-05/0.009204, allocations: 19.61 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.009479, allocations: 13.62 kB / 0.8166 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009016/0.01038, allocations: 175.9 kB / 0.8168 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.376e-05/0.01043, allocations: 55.36 kB / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.01047, allocations: 4.656 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.01052, allocations: 20.48 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of SimCode: time 1.092e-06/0.01052, allocations: 0.6562 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of Templates: time 0.003041/0.01356, allocations: 469.3 kB / 0.8173 GB, free: 11.52 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.663440577685833]