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.001916/0.001916, allocations: 84.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.002422/0.002422, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.467/1.467, 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.718/2.718, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 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.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.503e-06/1.503e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.94e-05, allocations: 9.609 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003007/0.003037, allocations: 1.511 MB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003687/0.003405, allocations: 103.7 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.003441, allocations: 3.938 kB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.145e-05/0.003492, allocations: 1.219 kB / 0.788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/0.003555, allocations: 7.938 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.003777, allocations: 32.73 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.003883, allocations: 47.84 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.505e-05/0.003978, allocations: 4.906 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/0.004052, allocations: 19.98 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.859e-05/0.00411, allocations: 24.41 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.00413, allocations: 7.938 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.952e-05/0.00421, allocations: 21.14 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.004266, allocations: 15.97 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.004302, allocations: 11.94 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.004463, allocations: 60.41 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004466, allocations: 4.625 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.42e-07/0.004466, allocations: 0 / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.004473, allocations: 4.906 kB / 0.7882 GB, free: 10.96 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.0006367/0.00511, allocations: 298.7 kB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.005151, allocations: 12.94 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.703e-05/0.005208, allocations: 8.891 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.005343, allocations: 113.8 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.005357, allocations: 1.969 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.005373, allocations: 4.375 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.005672, allocations: 85.59 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.005682, allocations: 192 / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.005693, allocations: 384 / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.0057, allocations: 4.375 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.006031, allocations: 75.86 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.00645, allocations: 224.6 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.006692, allocations: 71.59 kB / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.006863, allocations: 42.56 kB / 0.7891 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/0.007093, allocations: 33.53 kB / 0.7891 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.007129, allocations: 30.56 kB / 0.7892 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.00713, allocations: 0 / 0.7892 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0006483/0.007779, allocations: 152.9 kB / 0.7893 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.007829, allocations: 51.41 kB / 0.7894 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.007994, allocations: 125.8 kB / 0.7895 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.008017, allocations: 25.7 kB / 0.7895 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.963e-05/0.008097, allocations: 100.5 kB / 0.7896 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.008121, allocations: 8.484 kB / 0.7896 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.008169, allocations: 21.7 kB / 0.7896 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.008344, allocations: 316.2 kB / 0.7899 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.008518, allocations: 35.95 kB / 0.79 GB, free: 9 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.008672, allocations: 38.56 kB / 0.79 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.008994, allocations: 76.78 kB / 0.7901 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.008995, allocations: 0.625 kB / 0.7901 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003781/0.009373, allocations: 111.5 kB / 0.7902 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.009396, allocations: 13.5 kB / 0.7902 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.009401, allocations: 0.5625 kB / 0.7902 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.009421, allocations: 3.938 kB / 0.7902 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.009557, allocations: 21.08 kB / 0.7902 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.009566, allocations: 4 kB / 0.7902 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.113e-05/0.009657, allocations: 16.94 kB / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.009667, allocations: 4 kB / 0.7902 GB, free: 8.715 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.0001007/0.009767, allocations: 114.5 kB / 0.7904 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.009799, allocations: 5.016 kB / 0.7904 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/0.01024, allocations: 126.6 kB / 0.7905 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01024, allocations: 4.844 kB / 0.7905 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.01025, allocations: 384 / 0.7905 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01025, allocations: 0 / 0.7905 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.01043, allocations: 119.5 kB / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01043, allocations: 0 / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.01054, allocations: 19.97 kB / 0.7906 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-06/0.01055, allocations: 3.984 kB / 0.7906 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.01055, allocations: 3.938 kB / 0.7906 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.01056, allocations: 6.719 kB / 0.7906 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01056, allocations: 4 kB / 0.7906 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.01102, allocations: 203.4 kB / 0.7908 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.01103, allocations: 4 kB / 0.7908 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.01105, allocations: 1.594 kB / 0.7908 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.01117, allocations: 15.92 kB / 0.7909 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.01122, allocations: 3.984 kB / 0.7909 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.01123, allocations: 4.562 kB / 0.7909 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.948e-05/0.01132, allocations: 101.5 kB / 0.791 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01132, allocations: 0.5625 kB / 0.791 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002547/0.01157, allocations: 12.44 kB / 0.791 GB, free: 7.926 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.0001985/0.01177, allocations: 96.72 kB / 0.7911 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.01217, allocations: 88.84 kB / 0.7911 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01217, allocations: 1.094 kB / 0.7911 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.01234, allocations: 40.61 kB / 0.7912 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.01262, allocations: 9.156 kB / 0.7912 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/0.01308, allocations: 164.9 kB / 0.7914 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.958e-05/0.01317, allocations: 75.23 kB / 0.7914 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.0132, allocations: 0 / 0.7914 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.01324, allocations: 16.44 kB / 0.7914 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of SimCode: time 8.71e-07/0.01324, allocations: 0 / 0.7914 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of Templates: time 0.00397/0.01721, allocations: 0.8531 MB / 0.7923 GB, free: 6.566 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 400] 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.625866806018166]