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.001648/0.001648, allocations: 119.7 kB / 17.13 MB, free: 5.918 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.001966/0.001966, allocations: 193.2 kB / 20.08 MB, free: 2.988 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 / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001964/0.001964, allocations: 64.03 kB / 1.057 GB, free: 1.961 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3361, allocations: 160.7 MB / 1.214 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002935/0.339, allocations: 1.516 MB / 1.216 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007066/0.3397, allocations: 423.8 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.3398, allocations: 0 / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.3398, allocations: 7.922 kB / 1.216 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.01e-05/0.3399, allocations: 7.875 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.34, allocations: 15.98 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.3401, allocations: 51.78 kB / 1.216 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3402, allocations: 11.98 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.623e-05/0.3403, allocations: 19.92 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.512e-05/0.3404, allocations: 27.84 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3404, allocations: 4 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.3404, allocations: 4 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.3405, allocations: 4 kB / 1.216 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.3405, allocations: 27.86 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.883e-05/0.3406, allocations: 51.69 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3406, allocations: 4 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3406, allocations: 0 / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3406, allocations: 0 / 1.216 GB, free: 14.75 MB / 0.9669 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.0006299/0.3412, allocations: 367.2 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3413, allocations: 8.031 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.3413, allocations: 8.938 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.3415, allocations: 168.3 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3415, allocations: 384 / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.3415, allocations: 12.38 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.3417, allocations: 53.98 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3417, allocations: 3.984 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3417, allocations: 0 / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3417, allocations: 0 / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.3419, allocations: 39.91 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.3423, allocations: 280.9 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.3424, allocations: 34.56 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.132e-05/0.3425, allocations: 28.88 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.3425, allocations: 0 / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.3425, allocations: 34.55 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.3425, allocations: 0 / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003475/0.3429, allocations: 97.55 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.3429, allocations: 51.41 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.343, allocations: 121.7 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3431, allocations: 29.7 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.3431, allocations: 92.11 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.3431, allocations: 15.89 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.3432, allocations: 9.719 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3433, allocations: 330.8 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.755e-05/0.3434, allocations: 11.98 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.204e-05/0.3435, allocations: 19.98 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.3436, allocations: 44.77 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3436, allocations: 0 / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000176/0.3438, allocations: 73.62 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3438, allocations: 4 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3438, allocations: 4 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3438, allocations: 0 / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.906e-05/0.3439, allocations: 7.984 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3439, allocations: 4 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.344, allocations: 3.984 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.344, allocations: 4 kB / 1.218 GB, free: 12.6 MB / 0.9669 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.664e-05/0.3441, allocations: 117.8 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.3441, allocations: 7.953 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.3441, allocations: 7.906 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3441, allocations: 0 / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3441, allocations: 0 / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3441, allocations: 4 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.3443, allocations: 177.5 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3443, allocations: 0 / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.169e-05/0.3444, allocations: 11.98 kB / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3444, allocations: 0 / 1.218 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3444, allocations: 8 kB / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3444, allocations: 0 / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3444, allocations: 0 / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.3447, allocations: 171.8 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.3447, allocations: 81.06 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.3447, allocations: 0 / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-05/0.3448, allocations: 4 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.3448, allocations: 19.92 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.3448, allocations: 3.938 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.541e-05/0.3449, allocations: 91.27 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3449, allocations: 0 / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002137/0.3451, allocations: 8 kB / 1.219 GB, free: 11.8 MB / 0.9669 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.0001207/0.3452, allocations: 99.19 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.3454, allocations: 43.97 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3454, allocations: 0 / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.148e-05/0.3455, allocations: 19.98 kB / 1.219 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.3457, allocations: 7.938 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.3462, allocations: 193.8 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3465, allocations: 0.6846 MB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.3465, allocations: 11.44 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.3465, allocations: 4 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of Templates: time 0.002316/0.3488, allocations: 0.701 MB / 1.22 GB, free: 9.98 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.510371482931077]