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.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.001578/0.001578, allocations: 74.58 kB / 19.18 MB, free: 2.539 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.001663/0.001663, allocations: 168.6 kB / 22.46 MB, free: 5.348 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.561/1.561, allocations: 177.1 MB / 202.8 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.78/2.78, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.974e-06/1.974e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.111e-05, allocations: 4.391 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003028/0.003059, allocations: 1.518 MB / 0.9525 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009898/0.004049, allocations: 471.4 kB / 0.9529 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.104e-05/0.00411, allocations: 4 kB / 0.9529 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.575e-05/0.004146, allocations: 3.938 kB / 0.9529 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.961e-05/0.004216, allocations: 11.86 kB / 0.9529 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.004485, allocations: 35.89 kB / 0.953 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.004626, allocations: 63.66 kB / 0.953 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.004731, allocations: 7.984 kB / 0.953 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.004904, allocations: 35.91 kB / 0.9531 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.00498, allocations: 19.97 kB / 0.9531 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.005006, allocations: 4 kB / 0.9531 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.672e-05/0.005053, allocations: 8 kB / 0.9531 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.005073, allocations: 15.92 kB / 0.9531 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.005106, allocations: 11.94 kB / 0.9531 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.005264, allocations: 55.8 kB / 0.9532 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005267, allocations: 0 / 0.9532 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.52e-07/0.005268, allocations: 0 / 0.9532 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.005272, allocations: 0 / 0.9532 GB, free: 9.305 MB / 0.8575 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.0005567/0.005829, allocations: 294 kB / 0.9534 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.005869, allocations: 8.031 kB / 0.9535 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.006094, allocations: 28.88 kB / 0.9535 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.006341, allocations: 132.5 kB / 0.9536 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.006351, allocations: 4.312 kB / 0.9536 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.006361, allocations: 384 / 0.9536 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.006542, allocations: 58.23 kB / 0.9537 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.006552, allocations: 192 / 0.9537 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.006561, allocations: 384 / 0.9537 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.006572, allocations: 7.922 kB / 0.9537 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.006708, allocations: 35.98 kB / 0.9537 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.007072, allocations: 216.6 kB / 0.9539 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.007199, allocations: 42.5 kB / 0.954 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.841e-05/0.007288, allocations: 20.94 kB / 0.954 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.007307, allocations: 4 kB / 0.954 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.007341, allocations: 34.5 kB / 0.954 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.007342, allocations: 0 / 0.954 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003458/0.007688, allocations: 97.53 kB / 0.9541 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.007737, allocations: 51.41 kB / 0.9542 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.007855, allocations: 121.8 kB / 0.9543 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.007876, allocations: 33.7 kB / 0.9543 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.00794, allocations: 88.12 kB / 0.9544 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.007964, allocations: 11.91 kB / 0.9544 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.008001, allocations: 13.72 kB / 0.9544 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.008154, allocations: 318.8 kB / 0.9547 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.008228, allocations: 15.98 kB / 0.9547 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.336e-05/0.008291, allocations: 23.98 kB / 0.9548 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.008428, allocations: 40.83 kB / 0.9548 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.008431, allocations: 4 kB / 0.9548 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002001/0.008631, allocations: 81.78 kB / 0.9549 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.008647, allocations: 4 kB / 0.9549 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.008652, allocations: 0 / 0.9549 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.00867, allocations: 4.031 kB / 0.9549 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.008771, allocations: 15.98 kB / 0.9549 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.008776, allocations: 0 / 0.9549 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.008829, allocations: 7.984 kB / 0.9549 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.008837, allocations: 0 / 0.9549 GB, free: 7.352 MB / 0.8575 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 8.947e-05/0.008927, allocations: 113.8 kB / 0.955 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.008954, allocations: 7.875 kB / 0.955 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.008983, allocations: 8 kB / 0.955 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008985, allocations: 3.938 kB / 0.955 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.00899, allocations: 0 / 0.955 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.008992, allocations: 0 / 0.955 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.009165, allocations: 133.2 kB / 0.9552 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.009166, allocations: 0 / 0.9552 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-05/0.009239, allocations: 7.984 kB / 0.9552 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.00924, allocations: 0 / 0.9552 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.009254, allocations: 7.938 kB / 0.9552 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.009256, allocations: 0 / 0.9552 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.009257, allocations: 0 / 0.9552 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.009513, allocations: 167.5 kB / 0.9553 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.009526, allocations: 7.953 kB / 0.9553 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.009545, allocations: 11.94 kB / 0.9554 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.009625, allocations: 0 / 0.9554 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.009673, allocations: 7.984 kB / 0.9554 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.009677, allocations: 0 / 0.9554 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.136e-05/0.009748, allocations: 95.27 kB / 0.9555 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.009749, allocations: 0 / 0.9555 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002533/0.01, allocations: 12 kB / 0.9555 GB, free: 6.719 MB / 0.8575 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.0001211/0.01012, allocations: 99.19 kB / 0.9556 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002016/0.01032, allocations: 39.91 kB / 0.9556 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01033, allocations: 0 / 0.9556 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.763e-05/0.0104, allocations: 19.98 kB / 0.9556 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.01063, allocations: 11.98 kB / 0.9556 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.01106, allocations: 162.8 kB / 0.9558 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.014e-05/0.01113, allocations: 63.34 kB / 0.9558 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.292e-05/0.01116, allocations: 8 kB / 0.9559 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.0112, allocations: 8.5 kB / 0.9559 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.0112, allocations: 0 / 0.9559 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of Templates: time 0.003115/0.01431, allocations: 471.1 kB / 0.9563 GB, free: 5.812 MB / 0.8575 GB " [Timeout remaining time 300] 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: 8.100381750613451]