Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008294/0.0008294, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008219/0.0008219, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.9045/0.9045, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.709/1.709, allocations: 377.8 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.215e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002004/0.002036, allocations: 1.495 MB / 0.9837 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003004/0.002336, allocations: 111.5 kB / 0.9838 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.002372, allocations: 0 / 0.9838 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.701e-05/0.002419, allocations: 3.938 kB / 0.9838 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.002485, allocations: 11.94 kB / 0.9838 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.002728, allocations: 31.83 kB / 0.9838 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.717e-05/0.002815, allocations: 47.8 kB / 0.9839 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.002922, allocations: 15.97 kB / 0.9839 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/0.002988, allocations: 19.98 kB / 0.9839 GB, free: 376 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.253e-05/0.00303, allocations: 15.97 kB / 0.9839 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.00305, allocations: 4 kB / 0.9839 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.435e-05/0.003114, allocations: 19.98 kB / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.003168, allocations: 15.92 kB / 0.9839 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.003195, allocations: 15.92 kB / 0.984 GB, free: 304 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.003336, allocations: 63.84 kB / 0.984 GB, free: 240 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.003339, allocations: 4 kB / 0.984 GB, free: 236 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.673e-06/0.003341, allocations: 0 / 0.984 GB, free: 236 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.003346, allocations: 0 / 0.984 GB, free: 236 kB / 0.9323 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.0004237/0.00377, allocations: 306 kB / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.00381, allocations: 11.97 kB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.003846, allocations: 8.891 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.815e-05/0.003934, allocations: 113.8 kB / 0.9844 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.003947, allocations: 4.312 kB / 0.9844 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.003958, allocations: 8.375 kB / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.004154, allocations: 78.2 kB / 0.9845 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.004161, allocations: 192 / 0.9845 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.00417, allocations: 384 / 0.9845 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.004176, allocations: 384 / 0.9845 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.004329, allocations: 79.86 kB / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.004635, allocations: 224.6 kB / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.004775, allocations: 70.47 kB / 0.9849 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.931e-05/0.004855, allocations: 36.92 kB / 0.9849 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.005045, allocations: 31.97 kB / 0.985 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.005066, allocations: 34.56 kB / 0.985 GB, free: 15.13 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.005067, allocations: 3.938 kB / 0.985 GB, free: 15.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003326/0.005399, allocations: 157.5 kB / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.005432, allocations: 55.34 kB / 0.9852 GB, free: 14.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.357e-05/0.005515, allocations: 128.6 kB / 0.9853 GB, free: 14.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.005525, allocations: 29.7 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.005573, allocations: 100.1 kB / 0.9854 GB, free: 14.63 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.005593, allocations: 7.906 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.005622, allocations: 17.72 kB / 0.9855 GB, free: 14.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.416e-05/0.005706, allocations: 314.8 kB / 0.9858 GB, free: 14.28 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.033e-05/0.005786, allocations: 35.97 kB / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-05/0.005854, allocations: 39.95 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.005993, allocations: 80.78 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.005996, allocations: 0 / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001758/0.006171, allocations: 113.5 kB / 0.986 GB, free: 14.01 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.006187, allocations: 7.938 kB / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.006192, allocations: 0 / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.006204, allocations: 4 kB / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.006289, allocations: 15.98 kB / 0.986 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.006293, allocations: 0 / 0.986 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.718e-05/0.006331, allocations: 15.98 kB / 0.9861 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.006338, allocations: 3.984 kB / 0.9861 GB, free: 13.96 MB / 0.948 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 6.241e-05/0.0064, allocations: 113.8 kB / 0.9862 GB, free: 13.84 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.006415, allocations: 11.95 kB / 0.9862 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.006627, allocations: 129.8 kB / 0.9863 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.00663, allocations: 3.984 kB / 0.9863 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.006634, allocations: 0 / 0.9863 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.006637, allocations: 0 / 0.9863 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.006741, allocations: 121.3 kB / 0.9864 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.006742, allocations: 0 / 0.9864 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.006784, allocations: 15.92 kB / 0.9864 GB, free: 13.53 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.006789, allocations: 7.984 kB / 0.9865 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.006796, allocations: 4 kB / 0.9865 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.006799, allocations: 3.938 kB / 0.9865 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.0068, allocations: 0 / 0.9865 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.006998, allocations: 203.5 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.007006, allocations: 3.953 kB / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.007022, allocations: 4 kB / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.152e-05/0.007073, allocations: 19.92 kB / 0.9867 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.007114, allocations: 3.984 kB / 0.9867 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.007117, allocations: 4 kB / 0.9867 GB, free: 13.26 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.00716, allocations: 99.27 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00716, allocations: 0 / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001569/0.007317, allocations: 15.88 kB / 0.9868 GB, free: 13.15 MB / 0.948 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.0001442/0.007461, allocations: 103.7 kB / 0.9869 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.007657, allocations: 79.91 kB / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.00766, allocations: 4 kB / 0.987 GB, free: 12.95 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.051e-05/0.00773, allocations: 35.97 kB / 0.987 GB, free: 12.92 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.007929, allocations: 7.984 kB / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.008259, allocations: 182.5 kB / 0.9872 GB, free: 12.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.607e-05/0.008315, allocations: 75.27 kB / 0.9873 GB, free: 12.61 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.008343, allocations: 12.5 kB / 0.9873 GB, free: 12.59 MB / 0.948 GB Notification: Performance of SimCode: time 6.82e-07/0.008343, allocations: 0 / 0.9873 GB, free: 12.59 MB / 0.948 GB Notification: Performance of Templates: time 0.00194/0.01028, allocations: 0.9191 MB / 0.9882 GB, free: 11.68 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.672609077766538]