Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.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.002414/0.002414, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002795/0.002795, allocations: 157.3 kB / 23.55 MB, free: 0.8828 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.534/1.534, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.905/2.905, allocations: 359 MB / 0.6048 GB, free: 10.95 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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.376e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002627/0.002651, allocations: 1.507 MB / 0.7879 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002977/0.002949, allocations: 112.4 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.706e-05/0.002976, allocations: 2.25 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.601e-05/0.003032, allocations: 7.922 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.884e-05/0.003081, allocations: 7.938 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.003273, allocations: 27.89 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.003551, allocations: 39.86 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.544e-05/0.003627, allocations: 13.05 kB / 0.7881 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.919e-05/0.003696, allocations: 19.98 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.836e-05/0.003744, allocations: 21.48 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.003765, allocations: 4 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.308e-05/0.003828, allocations: 19.97 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.475e-05/0.003873, allocations: 11.98 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.003901, allocations: 19.92 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.004043, allocations: 61.08 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004045, allocations: 0 / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.81e-07/0.004045, allocations: 0 / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.004049, allocations: 2.062 kB / 0.7882 GB, free: 10.95 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.0005307/0.004579, allocations: 392.1 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.004613, allocations: 12.03 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.004655, allocations: 12.83 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.004779, allocations: 124.5 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.004789, allocations: 2.531 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.0048, allocations: 4.375 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.004982, allocations: 58.23 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.00499, allocations: 192 / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.004998, allocations: 384 / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.005001, allocations: 1.938 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.005191, allocations: 47.89 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.005569, allocations: 275.8 kB / 0.7891 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.00573, allocations: 60.78 kB / 0.7892 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.914e-05/0.005829, allocations: 27.77 kB / 0.7892 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/0.006026, allocations: 33.5 kB / 0.7892 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.00606, allocations: 33.39 kB / 0.7892 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.006061, allocations: 1.938 kB / 0.7892 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0003942/0.006455, allocations: 101.5 kB / 0.7893 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.006497, allocations: 51.41 kB / 0.7894 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.006651, allocations: 192.4 kB / 0.7896 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.00667, allocations: 25.7 kB / 0.7896 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/0.006762, allocations: 146.8 kB / 0.7897 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.006785, allocations: 11.95 kB / 0.7898 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.00683, allocations: 23.38 kB / 0.7898 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002568/0.007087, allocations: 0.4923 MB / 0.7903 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.256e-05/0.00718, allocations: 24.7 kB / 0.7903 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.193e-05/0.007261, allocations: 20.52 kB / 0.7903 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.007423, allocations: 53.25 kB / 0.7904 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.007425, allocations: 0 / 0.7904 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002135/0.007638, allocations: 78.22 kB / 0.7904 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.007651, allocations: 7.938 kB / 0.7904 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.007655, allocations: 1.156 kB / 0.7904 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.007669, allocations: 3.984 kB / 0.7904 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.064e-05/0.007759, allocations: 12 kB / 0.7904 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.007763, allocations: 1.156 kB / 0.7905 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.007814, allocations: 11.98 kB / 0.7905 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.00782, allocations: 1.375 kB / 0.7905 GB, free: 8.453 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.0001176/0.007938, allocations: 152.6 kB / 0.7906 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.007968, allocations: 7.953 kB / 0.7906 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.008228, allocations: 98.36 kB / 0.7907 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.008229, allocations: 0.8438 kB / 0.7907 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.008234, allocations: 3.984 kB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.008237, allocations: 1.281 kB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.008403, allocations: 128.6 kB / 0.7908 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.008404, allocations: 0 / 0.7908 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.008475, allocations: 19.98 kB / 0.7909 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.008477, allocations: 0.8438 kB / 0.7909 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.008486, allocations: 4 kB / 0.7909 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.00849, allocations: 4.812 kB / 0.7909 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.00849, allocations: 384 / 0.7909 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.008798, allocations: 233.3 kB / 0.7911 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.008814, allocations: 7.938 kB / 0.7911 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.008827, allocations: 0 / 0.7911 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.008911, allocations: 9.125 kB / 0.7911 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.008952, allocations: 7.984 kB / 0.7911 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.008958, allocations: 4 kB / 0.7911 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.196e-05/0.00905, allocations: 144.6 kB / 0.7913 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00905, allocations: 0 / 0.7913 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002089/0.009259, allocations: 8 kB / 0.7913 GB, free: 7.574 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.0001377/0.009397, allocations: 99.25 kB / 0.7914 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.009627, allocations: 51.64 kB / 0.7914 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.009629, allocations: 4 kB / 0.7914 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.009738, allocations: 45.39 kB / 0.7915 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.009966, allocations: 4 kB / 0.7915 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.0103, allocations: 154.9 kB / 0.7916 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.435e-05/0.01039, allocations: 75.58 kB / 0.7917 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.708e-05/0.01042, allocations: 7.469 kB / 0.7917 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.01045, allocations: 12.5 kB / 0.7917 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of SimCode: time 4e-07/0.01045, allocations: 0 / 0.7917 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.003647/0.01409, allocations: 0.8518 MB / 0.7925 GB, free: 6.242 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.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: 7.836238752002828]