Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001758/0.001758, 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.00201/0.00201, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.568/1.568, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.833/2.833, allocations: 476.7 MB / 0.7646 GB, free: 9.879 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 67.88 kB / 1.11 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8972/0.8993, allocations: 168.8 MB / 1.274 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002764/0.9021, allocations: 1.518 MB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007576/0.9028, allocations: 423 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.9029, allocations: 0 / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.9029, allocations: 3.938 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.57e-05/0.903, allocations: 15.86 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.9031, allocations: 19.97 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.508e-05/0.9032, allocations: 51.73 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.977e-05/0.9033, allocations: 8 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.9034, allocations: 27.86 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.041e-05/0.9035, allocations: 27.89 kB / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.9035, allocations: 4 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.9035, allocations: 4 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.9036, allocations: 7.938 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.9036, allocations: 23.86 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.9037, allocations: 42.22 kB / 1.276 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.9037, allocations: 3.938 kB / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9037, allocations: 0 / 1.276 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.9037, allocations: 4 kB / 1.276 GB, free: 1.988 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.0004937/0.9042, allocations: 286.1 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.9042, allocations: 8.031 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.9043, allocations: 12.88 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.9044, allocations: 122.4 kB / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.9044, allocations: 384 / 1.277 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.9044, allocations: 4.375 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.9046, allocations: 57.98 kB / 1.277 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.9046, allocations: 7.875 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.9046, allocations: 4 kB / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.9046, allocations: 0 / 1.277 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.9048, allocations: 31.97 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.9052, allocations: 244 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.9053, allocations: 40.17 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.103e-05/0.9054, allocations: 32.88 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.9054, allocations: 0 / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.9054, allocations: 30.56 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.9054, allocations: 0 / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003484/0.9058, allocations: 89.59 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.9058, allocations: 51.41 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.9059, allocations: 121.8 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.906, allocations: 25.7 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.906, allocations: 88.14 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.906, allocations: 11.94 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.9061, allocations: 9.719 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.9062, allocations: 326.8 kB / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.9063, allocations: 15.94 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.9063, allocations: 23.98 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.9065, allocations: 36.83 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9065, allocations: 0 / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001794/0.9067, allocations: 73.94 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.9067, allocations: 8 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.9067, allocations: 0 / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.9067, allocations: 0 / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.9068, allocations: 15.98 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.9068, allocations: 0 / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/0.9068, allocations: 12 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.9069, allocations: 3.938 kB / 1.278 GB, free: 48 kB / 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.967e-05/0.907, allocations: 112 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.907, allocations: 15.92 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.907, allocations: 11.94 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.907, allocations: 7.938 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.907, allocations: 4 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.907, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.9072, allocations: 140.7 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9072, allocations: 0 / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/0.9073, allocations: 11.98 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.9073, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.9073, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9073, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.9073, allocations: 0 / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.9075, allocations: 179.4 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.9075, allocations: 11.88 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.9076, allocations: 0 / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.9076, allocations: 7.984 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.9077, allocations: 0 / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.9077, allocations: 0 / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.9077, allocations: 95.27 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9077, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002184/0.908, allocations: 12 kB / 1.279 GB, free: 15.38 MB / 0.9825 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.0001652/0.9081, allocations: 99.23 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.9083, allocations: 35.97 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.9083, allocations: 0 / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.733e-05/0.9084, allocations: 23.92 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.9086, allocations: 11.94 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.909, allocations: 164.7 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.9093, allocations: 0.6807 MB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.416e-05/0.9093, allocations: 4 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.9094, allocations: 11.42 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.9094, allocations: 0 / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of Templates: time 0.002689/0.9121, allocations: 487.3 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.085700902156532]