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.001961/0.001961, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002281/0.002281, allocations: 186 kB / 20.78 MB, free: 1.547 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.531/1.531, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.002031/0.002031, allocations: 67.89 kB / 1.107 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169/1.171, allocations: 168.7 MB / 1.272 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002791/1.173, allocations: 1.541 MB / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006585/1.174, allocations: 417.8 kB / 1.274 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/1.174, allocations: 1.062 kB / 1.274 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/1.174, allocations: 4.875 kB / 1.274 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.291e-05/1.174, allocations: 10.92 kB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/1.174, allocations: 12.25 kB / 1.274 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.628e-05/1.174, allocations: 57.92 kB / 1.274 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/1.175, allocations: 13.95 kB / 1.274 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.796e-05/1.175, allocations: 20.73 kB / 1.274 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.191e-05/1.175, allocations: 24.77 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/1.175, allocations: 3.062 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/1.175, allocations: 3.844 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/1.175, allocations: 10.95 kB / 1.274 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/1.175, allocations: 24.48 kB / 1.274 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/1.175, allocations: 41.94 kB / 1.274 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.175, allocations: 0.9062 kB / 1.274 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.864e-06/1.175, allocations: 0 / 1.274 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.175, allocations: 0 / 1.274 GB, free: 6.465 MB / 0.9981 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.0004504/1.175, allocations: 363 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/1.175, allocations: 9.438 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/1.175, allocations: 14.92 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.593e-05/1.176, allocations: 174.8 kB / 1.275 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/1.176, allocations: 1.125 kB / 1.275 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/1.176, allocations: 6.406 kB / 1.275 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/1.176, allocations: 55.83 kB / 1.275 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.176, allocations: 4 kB / 1.275 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/1.176, allocations: 5 kB / 1.275 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/1.176, allocations: 0.9375 kB / 1.275 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/1.176, allocations: 33.83 kB / 1.275 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002896/1.176, allocations: 277 kB / 1.275 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/1.176, allocations: 43.73 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/1.176, allocations: 20.31 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/1.176, allocations: 0 / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/1.176, allocations: 35.59 kB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/1.176, allocations: 3.984 kB / 1.275 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.000313/1.177, allocations: 93.58 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/1.177, allocations: 56.53 kB / 1.275 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.36e-05/1.177, allocations: 122.6 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/1.177, allocations: 25.7 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/1.177, allocations: 91.64 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/1.177, allocations: 7.812 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/1.177, allocations: 13.03 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.499e-05/1.177, allocations: 322.5 kB / 1.276 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/1.177, allocations: 21.11 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.489e-05/1.177, allocations: 15.42 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/1.177, allocations: 39.67 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.177, allocations: 0 / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001586/1.177, allocations: 76.66 kB / 1.276 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.177, allocations: 9.016 kB / 1.276 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/1.177, allocations: 0 / 1.276 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/1.177, allocations: 8.906 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/1.178, allocations: 8.469 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/1.178, allocations: 2.016 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/1.178, allocations: 3.281 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/1.178, allocations: 3.578 kB / 1.276 GB, free: 4.68 MB / 0.9981 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 5.047e-05/1.178, allocations: 116 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/1.178, allocations: 11.2 kB / 1.276 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/1.178, allocations: 11.42 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/1.178, allocations: 5.094 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/1.178, allocations: 0 / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/1.178, allocations: 1.031 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/1.178, allocations: 171.1 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/1.178, allocations: 0 / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.849e-05/1.178, allocations: 10.09 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/1.178, allocations: 4.75 kB / 1.276 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/1.178, allocations: 0.7812 kB / 1.276 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.178, allocations: 0 / 1.276 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.178, allocations: 4.859 kB / 1.276 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/1.178, allocations: 175.4 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/1.178, allocations: 86.58 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/1.178, allocations: 1.344 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/1.178, allocations: 2.75 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/1.178, allocations: 5.531 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/1.178, allocations: 1.031 kB / 1.277 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.619e-05/1.178, allocations: 94.81 kB / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.178, allocations: 0 / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002193/1.178, allocations: 7.219 kB / 1.277 GB, free: 3.992 MB / 0.9981 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.0001097/1.179, allocations: 102.1 kB / 1.277 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001934/1.179, allocations: 45.05 kB / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.179, allocations: 0 / 1.277 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.29e-05/1.179, allocations: 26.61 kB / 1.277 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/1.179, allocations: 6.156 kB / 1.277 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/1.179, allocations: 167.6 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/1.18, allocations: 0.6834 MB / 1.278 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.482e-05/1.18, allocations: 7.297 kB / 1.278 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/1.18, allocations: 17.16 kB / 1.278 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of SimCode: time 5.62e-07/1.18, allocations: 0 / 1.278 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of Templates: time 0.002882/1.183, allocations: 470.1 kB / 1.278 GB, free: 2.953 MB / 0.9981 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.472203441895545]