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.001355/0.001355, allocations: 79.58 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001497/0.001497, allocations: 159.2 kB / 23.01 MB, free: 4.945 MB / 14.72 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.516/1.516, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.84/2.84, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 63.91 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.06, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003664/1.063, allocations: 1.53 MB / 1.155 GB, free: 32.24 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001262/1.065, allocations: 467 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.946e-05/1.065, allocations: 6.906 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/1.065, allocations: 3.938 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.972e-05/1.065, allocations: 11.34 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/1.065, allocations: 37.97 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/1.065, allocations: 49.03 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/1.065, allocations: 9.922 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/1.066, allocations: 36.72 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.687e-05/1.066, allocations: 25.92 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/1.066, allocations: 5.062 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.819e-05/1.066, allocations: 5.062 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/1.066, allocations: 7.281 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/1.066, allocations: 18.38 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/1.066, allocations: 52.66 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.066, allocations: 0 / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.144e-06/1.066, allocations: 0 / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.881e-06/1.066, allocations: 0 / 1.156 GB, free: 31.81 MB / 1.076 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.0005587/1.067, allocations: 305.3 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.067, allocations: 8.344 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003467/1.067, allocations: 25.38 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/1.067, allocations: 125.8 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/1.067, allocations: 384 / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/1.067, allocations: 3.281 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/1.067, allocations: 57.98 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/1.068, allocations: 0 / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/1.068, allocations: 8 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.068, allocations: 2.906 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/1.068, allocations: 30.56 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/1.068, allocations: 218.6 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/1.068, allocations: 42.73 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/1.068, allocations: 22.86 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/1.068, allocations: 0 / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/1.068, allocations: 37.38 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/1.068, allocations: 0 / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0004895/1.069, allocations: 93.69 kB / 1.157 GB, free: 30.97 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/1.069, allocations: 58.67 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/1.069, allocations: 122.3 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/1.069, allocations: 33.11 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/1.069, allocations: 94.73 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/1.069, allocations: 10.5 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/1.069, allocations: 15.62 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.773e-05/1.069, allocations: 325.8 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/1.069, allocations: 15.45 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/1.07, allocations: 20.73 kB / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/1.07, allocations: 36.14 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/1.07, allocations: 3.938 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002751/1.07, allocations: 71.16 kB / 1.158 GB, free: 30.26 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.07, allocations: 9.469 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.07, allocations: 0 / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/1.07, allocations: 0 / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/1.07, allocations: 12.92 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.07, allocations: 0 / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.26e-05/1.07, allocations: 9.516 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/1.07, allocations: 3.375 kB / 1.158 GB, free: 30.25 MB / 1.076 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.109e-05/1.07, allocations: 116.3 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/1.07, allocations: 2.562 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/1.07, allocations: 10.59 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/1.07, allocations: 4 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.07, allocations: 0 / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.07, allocations: 0 / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/1.071, allocations: 123.2 kB / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.071, allocations: 0 / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/1.071, allocations: 12.42 kB / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.071, allocations: 2.656 kB / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/1.071, allocations: 0 / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/1.071, allocations: 0 / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.071, allocations: 0 / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/1.071, allocations: 177.1 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/1.071, allocations: 10.17 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/1.071, allocations: 0 / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/1.071, allocations: 9.562 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/1.071, allocations: 7.266 kB / 1.158 GB, free: 29.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/1.071, allocations: 0 / 1.158 GB, free: 29.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.402e-05/1.071, allocations: 95.45 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.071, allocations: 0 / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004139/1.072, allocations: 5.469 kB / 1.158 GB, free: 29.73 MB / 1.076 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 9.895e-05/1.072, allocations: 103.6 kB / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000296/1.072, allocations: 38.72 kB / 1.159 GB, free: 29.63 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.072, allocations: 0 / 1.159 GB, free: 29.63 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/1.072, allocations: 27.31 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/1.073, allocations: 6.859 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/1.073, allocations: 176.9 kB / 1.159 GB, free: 29.47 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.303e-05/1.073, allocations: 79.05 kB / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.33e-05/1.073, allocations: 3.984 kB / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/1.074, allocations: 15.17 kB / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of SimCode: time 3.9e-07/1.074, allocations: 0 / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of Templates: time 0.004486/1.078, allocations: 458.6 kB / 1.159 GB, free: 29.29 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.250199468922801]