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.001408/0.001408, allocations: 91.58 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.001418/0.001418, allocations: 165.4 kB / 23.82 MB, free: 0.75 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.9985/0.9985, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.838/1.838, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] 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.773e-06/1.773e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.314e-05, allocations: 10.25 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001938/0.001961, allocations: 1.57 MB / 0.8131 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006191/0.00258, allocations: 484.5 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.00264, allocations: 5.312 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.002671, allocations: 3.938 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.002729, allocations: 21.69 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.002972, allocations: 31.91 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.003084, allocations: 55.72 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.003174, allocations: 11.98 kB / 0.8137 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.003303, allocations: 39.84 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.777e-05/0.003361, allocations: 17.3 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.003377, allocations: 4 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.127e-05/0.003418, allocations: 7.938 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.003434, allocations: 21.06 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.003457, allocations: 8 kB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.003569, allocations: 43.83 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003572, allocations: 1.375 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003572, allocations: 0 / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.003577, allocations: 0 / 0.8138 GB, free: 15.42 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.0003839/0.003961, allocations: 394 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.003997, allocations: 8.031 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.004139, allocations: 24.88 kB / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.004284, allocations: 129.9 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-06/0.004292, allocations: 384 / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.004304, allocations: 8.359 kB / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.004418, allocations: 63.41 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.004426, allocations: 2.125 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.004435, allocations: 384 / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.004442, allocations: 7.875 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.185e-05/0.004474, allocations: 11.98 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.004745, allocations: 259.9 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.936e-05/0.004814, allocations: 37.23 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.361e-05/0.004838, allocations: 15.62 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.004851, allocations: 0 / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.004872, allocations: 41.33 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.004873, allocations: 0 / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001519/0.005025, allocations: 50.27 kB / 0.8148 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.005058, allocations: 55.41 kB / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.093e-05/0.005138, allocations: 178.6 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.00515, allocations: 30.23 kB / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.005198, allocations: 138.8 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.005218, allocations: 13.56 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.005242, allocations: 15.38 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.00535, allocations: 0.4923 MB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.005366, allocations: 3.938 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.362e-05/0.00538, allocations: 4.531 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.688e-05/0.005417, allocations: 19.69 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.005419, allocations: 5.031 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.995e-05/0.005489, allocations: 53.58 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.005501, allocations: 4.656 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.8e-06/0.005506, allocations: 0 / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.005518, allocations: 1 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.005593, allocations: 11.98 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.005598, allocations: 3.938 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.005619, allocations: 0.8438 kB / 0.8158 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.005627, allocations: 4 kB / 0.8158 GB, free: 13.17 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.256e-05/0.0057, allocations: 158.1 kB / 0.816 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.005717, allocations: 11.89 kB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.005739, allocations: 8 kB / 0.816 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.005741, allocations: 0.9688 kB / 0.816 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.005746, allocations: 4 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.005749, allocations: 0 / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.005851, allocations: 127 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.005852, allocations: 0 / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.005881, allocations: 11.92 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.005882, allocations: 0 / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.005892, allocations: 7.938 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.005893, allocations: 2.25 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.005895, allocations: 3.984 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.006008, allocations: 203.8 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.006017, allocations: 7.953 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.006028, allocations: 3.938 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.573e-05/0.006064, allocations: 4 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.006099, allocations: 4.484 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.006102, allocations: 0.9688 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.006146, allocations: 139.2 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006146, allocations: 0 / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001483/0.006294, allocations: 13.69 kB / 0.8165 GB, free: 12.42 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 7.416e-05/0.006368, allocations: 95.25 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.529e-05/0.006454, allocations: 23.67 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.006455, allocations: 0.5 kB / 0.8166 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.046e-05/0.006475, allocations: 16.97 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.0001666/0.006642, allocations: 11.94 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.007238, allocations: 179.8 kB / 0.8168 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.232e-05/0.007281, allocations: 63.94 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.346e-05/0.007304, allocations: 3.375 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.007337, allocations: 12.5 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of SimCode: time 8.72e-07/0.007337, allocations: 0 / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of Templates: time 0.002189/0.009526, allocations: 493.6 kB / 0.8173 GB, free: 11.5 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.111575139686465]