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.001497/0.001497, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.001764/0.001764, allocations: 161.3 kB / 23.54 MB, free: 0.8672 MB / 18.57 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.756/1.756, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 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.815/2.815, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.683e-06/1.683e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.794e-05, allocations: 5.984 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00306/0.003088, allocations: 1.528 MB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009588/0.004047, allocations: 466 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.004106, allocations: 4.5 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.00414, allocations: 7.922 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.17e-05/0.004202, allocations: 12.77 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.004425, allocations: 32.84 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.004561, allocations: 55.72 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.14e-05/0.004642, allocations: 13.33 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.004803, allocations: 39.84 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.828e-05/0.004881, allocations: 19.91 kB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.004901, allocations: 6.969 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.641e-05/0.004947, allocations: 8 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.004967, allocations: 11.98 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.004999, allocations: 11.92 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.005133, allocations: 51.86 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.005135, allocations: 3.938 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.61e-07/0.005136, allocations: 0 / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.00514, allocations: 0 / 0.7886 GB, free: 10.54 MB / 0.7448 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.0005174/0.005657, allocations: 291.4 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.005693, allocations: 8.031 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/0.005941, allocations: 29.45 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.006173, allocations: 126.7 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.006183, allocations: 384 / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.006195, allocations: 8.906 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.006363, allocations: 54.73 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.00637, allocations: 192 / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.00638, allocations: 1.156 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.006389, allocations: 7.938 kB / 0.7891 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.006526, allocations: 33.34 kB / 0.7891 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.00691, allocations: 218.4 kB / 0.7893 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.007042, allocations: 42.5 kB / 0.7894 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.007345, allocations: 24.94 kB / 0.7894 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.00736, allocations: 0 / 0.7894 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.007396, allocations: 40.03 kB / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.007397, allocations: 0 / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0003347/0.007732, allocations: 87.47 kB / 0.7895 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.007779, allocations: 55.34 kB / 0.7896 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.007906, allocations: 121.8 kB / 0.7897 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.007927, allocations: 25.7 kB / 0.7897 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.473e-05/0.008002, allocations: 102.4 kB / 0.7898 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.008019, allocations: 3.953 kB / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.00806, allocations: 17.72 kB / 0.7898 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.008237, allocations: 314.8 kB / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.28e-05/0.008309, allocations: 19.98 kB / 0.7901 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/0.008371, allocations: 16.52 kB / 0.7902 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.008512, allocations: 41.56 kB / 0.7902 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.008513, allocations: 0.5312 kB / 0.7902 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002214/0.008734, allocations: 83.41 kB / 0.7903 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.008752, allocations: 8 kB / 0.7903 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.008759, allocations: 3.984 kB / 0.7903 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.008776, allocations: 3.938 kB / 0.7903 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.008878, allocations: 16.61 kB / 0.7903 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.008883, allocations: 0.6875 kB / 0.7903 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.008934, allocations: 0.6875 kB / 0.7903 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.008941, allocations: 4 kB / 0.7903 GB, free: 8.609 MB / 0.7448 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 0.0001021/0.009043, allocations: 115 kB / 0.7904 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.009077, allocations: 11.89 kB / 0.7904 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.009103, allocations: 8 kB / 0.7904 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.009104, allocations: 0.625 kB / 0.7904 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.009109, allocations: 0.7188 kB / 0.7904 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.009111, allocations: 0 / 0.7904 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.009283, allocations: 118.1 kB / 0.7906 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.009288, allocations: 4 kB / 0.7906 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.308e-05/0.009361, allocations: 9.828 kB / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.009363, allocations: 0 / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.009374, allocations: 3.938 kB / 0.7906 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.009375, allocations: 4 kB / 0.7906 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.009376, allocations: 0 / 0.7906 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.009659, allocations: 176.2 kB / 0.7907 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-06/0.009667, allocations: 2.375 kB / 0.7907 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.009688, allocations: 7.938 kB / 0.7908 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.478e-05/0.009772, allocations: 3.984 kB / 0.7908 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.009816, allocations: 4 kB / 0.7908 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.00982, allocations: 0 / 0.7908 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.586e-05/0.009906, allocations: 96.89 kB / 0.7909 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009906, allocations: 1.969 kB / 0.7909 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002342/0.01014, allocations: 12 kB / 0.7909 GB, free: 7.996 MB / 0.7448 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.0001241/0.01026, allocations: 99.23 kB / 0.791 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.01046, allocations: 36.41 kB / 0.791 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01046, allocations: 1.844 kB / 0.791 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.559e-05/0.01053, allocations: 23.98 kB / 0.791 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.01076, allocations: 4 kB / 0.791 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004298/0.01119, allocations: 169.6 kB / 0.7912 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.945e-05/0.01127, allocations: 72.42 kB / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.315e-05/0.01131, allocations: 0.6562 kB / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.01135, allocations: 12.5 kB / 0.7913 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.01135, allocations: 4.781 kB / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of Templates: time 0.002943/0.01429, allocations: 482.2 kB / 0.7917 GB, free: 7.082 MB / 0.7448 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.14040572999511]