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.001446/0.001446, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001584/0.001584, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.563/1.563, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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 2.971/2.971, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] 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.944e-06/1.944e-06, allocations: 0 / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.124e-05/3.318e-05, allocations: 6.859 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002984/0.003017, allocations: 1.524 MB / 0.8123 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000975/0.003992, allocations: 473.5 kB / 0.8128 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.00405, allocations: 0 / 0.8128 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.004085, allocations: 7.922 kB / 0.8128 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.144e-05/0.004156, allocations: 13.52 kB / 0.8128 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.004424, allocations: 31.91 kB / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.004601, allocations: 55.72 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.004709, allocations: 16.91 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.004866, allocations: 31.92 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.513e-05/0.004941, allocations: 20.59 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.004961, allocations: 4 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.204e-05/0.005013, allocations: 16.95 kB / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.005024, allocations: 0 / 0.8129 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.005062, allocations: 15.92 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.005205, allocations: 60.48 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.005208, allocations: 3.938 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005208, allocations: 0.7812 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.005212, allocations: 4 kB / 0.813 GB, free: 15.81 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.0005545/0.005767, allocations: 283.4 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.005812, allocations: 16.02 kB / 0.8133 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.006047, allocations: 22.91 kB / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.006292, allocations: 133.7 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.006305, allocations: 4.359 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.006315, allocations: 384 / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.006508, allocations: 59.17 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.006516, allocations: 192 / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.006526, allocations: 0.9375 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.006533, allocations: 4.75 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.006674, allocations: 37.53 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.007071, allocations: 216.6 kB / 0.8138 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.007208, allocations: 42.56 kB / 0.8138 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.382e-05/0.007292, allocations: 26.47 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.007308, allocations: 0 / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.007352, allocations: 34.5 kB / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.007352, allocations: 1.656 kB / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0003538/0.007706, allocations: 93.55 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.007758, allocations: 56.36 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.00789, allocations: 123.5 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.007913, allocations: 25.7 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.97e-05/0.007983, allocations: 93.75 kB / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.00801, allocations: 11.89 kB / 0.8143 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.00805, allocations: 13.72 kB / 0.8143 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.008231, allocations: 318.8 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.363e-05/0.008315, allocations: 16.55 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.297e-05/0.008378, allocations: 20.67 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.008521, allocations: 45.95 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.008523, allocations: 0 / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001962/0.008719, allocations: 78.56 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.008735, allocations: 4.531 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.008739, allocations: 0 / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.008755, allocations: 5.312 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.008859, allocations: 11.98 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.008864, allocations: 0 / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.294e-05/0.008916, allocations: 5.219 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.008927, allocations: 3.984 kB / 0.8148 GB, free: 13.89 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 9.965e-05/0.009027, allocations: 110.7 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.009065, allocations: 15.89 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.009088, allocations: 7.938 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.009089, allocations: 0.9375 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.009093, allocations: 0 / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.009095, allocations: 5.672 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.009276, allocations: 117.3 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.009279, allocations: 3.984 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.341e-05/0.009353, allocations: 8.688 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.009357, allocations: 3.984 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.009366, allocations: 4.438 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.009374, allocations: 7.984 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.009375, allocations: 1.938 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.009631, allocations: 163.5 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.009645, allocations: 8 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.009665, allocations: 8.766 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.009749, allocations: 4 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.009789, allocations: 3.438 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.009796, allocations: 7.922 kB / 0.8152 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.544e-05/0.009871, allocations: 98.39 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009871, allocations: 0 / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002429/0.01011, allocations: 15.95 kB / 0.8153 GB, free: 13.26 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.0001278/0.01024, allocations: 95.25 kB / 0.8154 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001867/0.01043, allocations: 36.59 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01043, allocations: 0 / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.308e-05/0.0105, allocations: 20.48 kB / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.01074, allocations: 10.53 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.01119, allocations: 162 kB / 0.8156 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.664e-05/0.01127, allocations: 75.19 kB / 0.8157 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.646e-05/0.01131, allocations: 2.531 kB / 0.8157 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.01135, allocations: 8.5 kB / 0.8157 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.01135, allocations: 7.938 kB / 0.8157 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of Templates: time 0.002984/0.01433, allocations: 476.5 kB / 0.8162 GB, free: 12.35 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.044191655004397]