Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 190.6 kB / 22.23 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.727/2.727, allocations: 443.5 MB / 0.7321 GB, free: 12.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.89 kB / 1.061 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.85/0.852, allocations: 160.8 MB / 1.218 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00361/0.8556, allocations: 1.521 MB / 1.22 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009473/0.8566, allocations: 430.8 kB / 1.22 GB, free: 2.164 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.248e-05/0.8566, allocations: 0.8438 kB / 1.22 GB, free: 2.164 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.8567, allocations: 3.938 kB / 1.22 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.275e-05/0.8568, allocations: 6.125 kB / 1.22 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.857, allocations: 18.56 kB / 1.22 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.8571, allocations: 52.28 kB / 1.22 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.8572, allocations: 7.219 kB / 1.22 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.8573, allocations: 26.14 kB / 1.22 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.392e-05/0.8574, allocations: 31.16 kB / 1.221 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.8574, allocations: 3.125 kB / 1.221 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.606e-05/0.8575, allocations: 4.188 kB / 1.221 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.8575, allocations: 12.89 kB / 1.221 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.65e-05/0.8575, allocations: 25.52 kB / 1.221 GB, free: 2.035 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.8576, allocations: 41.5 kB / 1.221 GB, free: 2.012 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.8577, allocations: 0 / 1.221 GB, free: 2.012 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8577, allocations: 1.062 kB / 1.221 GB, free: 2.012 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.8577, allocations: 0 / 1.221 GB, free: 2.012 MB / 0.92 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.0006314/0.8583, allocations: 367.7 kB / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.8583, allocations: 9.281 kB / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.8584, allocations: 7.922 kB / 1.221 GB, free: 1.621 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.8585, allocations: 171.6 kB / 1.221 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.8586, allocations: 6.312 kB / 1.221 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.8586, allocations: 1.438 kB / 1.221 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.8588, allocations: 59.55 kB / 1.221 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.8588, allocations: 0 / 1.221 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.8588, allocations: 4.531 kB / 1.221 GB, free: 1.359 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.8588, allocations: 4.969 kB / 1.221 GB, free: 1.355 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.8589, allocations: 31.59 kB / 1.221 GB, free: 1.344 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/0.8594, allocations: 278.5 kB / 1.222 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.8596, allocations: 43.66 kB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.959e-05/0.8597, allocations: 28.41 kB / 1.222 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.8597, allocations: 0 / 1.222 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.8597, allocations: 31.69 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 2.896e-06/0.8597, allocations: 3.984 kB / 1.222 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003611/0.8601, allocations: 88.27 kB / 1.222 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.8601, allocations: 56.28 kB / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.8603, allocations: 116.6 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.8603, allocations: 25.7 kB / 1.222 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.8604, allocations: 98.73 kB / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.8604, allocations: 5.266 kB / 1.222 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.8604, allocations: 16.28 kB / 1.222 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.8606, allocations: 320.1 kB / 1.222 GB, free: 236 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.914e-05/0.8607, allocations: 17.73 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.949e-05/0.8607, allocations: 22.27 kB / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.8608, allocations: 40.64 kB / 1.222 GB, free: 192 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8608, allocations: 1.031 kB / 1.222 GB, free: 192 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000174/0.861, allocations: 71.59 kB / 1.222 GB, free: 140 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.861, allocations: 4.625 kB / 1.222 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.861, allocations: 0 / 1.222 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.8611, allocations: 1.125 kB / 1.222 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.8612, allocations: 15.11 kB / 1.222 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.8612, allocations: 4 kB / 1.222 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/0.8612, allocations: 7.281 kB / 1.222 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.8612, allocations: 9.078 kB / 1.222 GB, free: 116 kB / 0.92 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 0.0001265/0.8614, allocations: 112.5 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.8614, allocations: 6.484 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.8614, allocations: 9.312 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.8614, allocations: 1.031 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8614, allocations: 3.938 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.8614, allocations: 4 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.8617, allocations: 175.6 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8617, allocations: 0 / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-05/0.8617, allocations: 7.031 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8617, allocations: 0 / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.8617, allocations: 5.047 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8617, allocations: 0 / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.8618, allocations: 1.125 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.862, allocations: 174.1 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.8621, allocations: 89.98 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.8621, allocations: 1 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.8622, allocations: 3.156 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.8622, allocations: 4.984 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.8622, allocations: 0.9375 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.49e-05/0.8623, allocations: 93.27 kB / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8623, allocations: 0 / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002224/0.8625, allocations: 15.06 kB / 1.223 GB, free: 15.39 MB / 0.9356 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.000116/0.8626, allocations: 100.2 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001921/0.8628, allocations: 38.62 kB / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8628, allocations: 0 / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.339e-05/0.8629, allocations: 20.05 kB / 1.223 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.8631, allocations: 9.609 kB / 1.223 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/0.8635, allocations: 167.6 kB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.8639, allocations: 0.6897 MB / 1.224 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.676e-05/0.8639, allocations: 4.828 kB / 1.224 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.8639, allocations: 9.5 kB / 1.224 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.8639, allocations: 0 / 1.224 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.003129/0.8671, allocations: 486.6 kB / 1.225 GB, free: 14.15 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.006570937111974]