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.001314/0.001314, allocations: 83.58 kB / 19.76 MB, free: 2.016 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.001475/0.001475, allocations: 153.7 kB / 23.01 MB, free: 4.973 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.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.896/2.896, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 63.91 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8303/0.8326, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002205/0.8348, allocations: 1.511 MB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003245/0.8352, allocations: 102.3 kB / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.8352, allocations: 2.719 kB / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 6.114e-05/0.8353, allocations: 3.938 kB / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.278e-05/0.8353, allocations: 10.27 kB / 1.155 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.8355, allocations: 24.08 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.277e-05/0.8356, allocations: 50.62 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.465e-05/0.8357, allocations: 10.8 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.8357, allocations: 19.03 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.441e-05/0.8358, allocations: 20.36 kB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.8358, allocations: 2.75 kB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.152e-05/0.8358, allocations: 21.98 kB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.8359, allocations: 14 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.8359, allocations: 14.66 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.836, allocations: 62.03 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.836, allocations: 8 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.542e-06/0.836, allocations: 0 / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.836, allocations: 3.938 kB / 1.156 GB, free: 32.1 MB / 1.076 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.0004365/0.8365, allocations: 302.1 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.8365, allocations: 8.312 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.8365, allocations: 3.531 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.747e-05/0.8366, allocations: 115.6 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.8366, allocations: 6.969 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.8366, allocations: 3.656 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.8369, allocations: 77.42 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.8369, allocations: 4.188 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.8369, allocations: 3.938 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.8369, allocations: 2.656 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.8372, allocations: 69.83 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.8374, allocations: 231.9 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.8376, allocations: 61.45 kB / 1.157 GB, free: 31.37 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.8378, allocations: 47.59 kB / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.838, allocations: 33.8 kB / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.838, allocations: 34.56 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.838, allocations: 3.938 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0005193/0.8385, allocations: 146.3 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.8385, allocations: 55.41 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.555e-05/0.8386, allocations: 132.4 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.8386, allocations: 25.7 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.8386, allocations: 99.05 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.8387, allocations: 10.72 kB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.8387, allocations: 15.75 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.8387, allocations: 314.8 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.8389, allocations: 38.8 kB / 1.157 GB, free: 30.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.839, allocations: 35.84 kB / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.8393, allocations: 86.19 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8393, allocations: 0 / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003024/0.8396, allocations: 114.1 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.8396, allocations: 5.781 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.8396, allocations: 3.938 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.8396, allocations: 4 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.8397, allocations: 14.7 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.8398, allocations: 3.234 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.626e-05/0.8398, allocations: 12.14 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.8398, allocations: 0 / 1.158 GB, free: 30.52 MB / 1.076 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 4.808e-05/0.8399, allocations: 116.5 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.8399, allocations: 10.67 kB / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.8403, allocations: 121.1 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.8403, allocations: 2.719 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.8403, allocations: 3.469 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.8403, allocations: 0 / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.8404, allocations: 121.7 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8404, allocations: 0 / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.361e-05/0.8405, allocations: 21.28 kB / 1.158 GB, free: 30.19 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.8405, allocations: 0 / 1.158 GB, free: 30.19 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.8405, allocations: 6.75 kB / 1.158 GB, free: 30.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8405, allocations: 0 / 1.158 GB, free: 30.19 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.8405, allocations: 0 / 1.158 GB, free: 30.19 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.8408, allocations: 210.5 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.619e-06/0.8408, allocations: 7.891 kB / 1.158 GB, free: 30.03 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.8408, allocations: 10.59 kB / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.8409, allocations: 16.2 kB / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.841, allocations: 10.11 kB / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.841, allocations: 0 / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.841, allocations: 100.9 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.841, allocations: 0 / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002363/0.8412, allocations: 11.62 kB / 1.159 GB, free: 29.93 MB / 1.076 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.0001005/0.8413, allocations: 103.3 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003375/0.8417, allocations: 76.45 kB / 1.159 GB, free: 29.83 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8417, allocations: 2.594 kB / 1.159 GB, free: 29.83 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.8418, allocations: 44.92 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.8421, allocations: 8.984 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.8424, allocations: 154.6 kB / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.584e-05/0.8424, allocations: 73.41 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.644e-05/0.8424, allocations: 7.375 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.8425, allocations: 11.34 kB / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.8425, allocations: 0 / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of Templates: time 0.003158/0.8456, allocations: 0.8242 MB / 1.16 GB, free: 29.5 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 8.543349512969144]