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.001354/0.001354, allocations: 112.6 kB / 19.7 MB, free: 2.25 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.001478/0.001478, allocations: 219.3 kB / 23.01 MB, free: 5.113 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.831/2.831, allocations: 476.8 MB / 0.7714 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.00278/0.00278, allocations: 65.89 kB / 1.119 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3249, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.00302/0.3279, allocations: 1.528 MB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003581/0.3283, allocations: 111.7 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.3283, allocations: 0 / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.932e-05/0.3284, allocations: 7.875 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.287e-05/0.3284, allocations: 15.88 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.3287, allocations: 19.97 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.3288, allocations: 47.84 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3289, allocations: 11.92 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.356e-05/0.3289, allocations: 19.92 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.329, allocations: 23.92 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.329, allocations: 4 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-05/0.3291, allocations: 19.98 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.137e-05/0.3291, allocations: 11.92 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.3292, allocations: 23.86 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.3293, allocations: 63.73 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3293, allocations: 0 / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3293, allocations: 0 / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.3293, allocations: 0 / 1.286 GB, free: 9.328 MB / 0.9825 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.0005559/0.3299, allocations: 302.1 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3299, allocations: 8.031 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.33, allocations: 4.938 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.3301, allocations: 122.4 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3301, allocations: 4.375 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.3301, allocations: 4.375 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.3304, allocations: 78.14 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3304, allocations: 192 / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3304, allocations: 3.938 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3304, allocations: 4 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.3307, allocations: 71.92 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.3311, allocations: 252 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.3313, allocations: 70.41 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.3315, allocations: 44.91 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/0.3317, allocations: 31.97 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3317, allocations: 30.56 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3317, allocations: 0 / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005957/0.3323, allocations: 153.5 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3324, allocations: 55.34 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.3325, allocations: 125.8 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3325, allocations: 25.7 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.3326, allocations: 96.06 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.3326, allocations: 19.84 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.3327, allocations: 13.72 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3328, allocations: 322.8 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.333, allocations: 31.97 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.3331, allocations: 39.95 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.3334, allocations: 80.72 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.3334, allocations: 3.938 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003297/0.3337, allocations: 101.6 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3337, allocations: 11.98 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3337, allocations: 3.938 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3338, allocations: 4 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.3339, allocations: 19.98 kB / 1.289 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3339, allocations: 0 / 1.289 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.334, allocations: 7.984 kB / 1.289 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.334, allocations: 4 kB / 1.289 GB, free: 7.031 MB / 0.9825 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.0001094/0.3341, allocations: 121.8 kB / 1.289 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.3341, allocations: 8.281 kB / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003837/0.3345, allocations: 121.6 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3345, allocations: 4 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3345, allocations: 0 / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3345, allocations: 0 / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.3347, allocations: 152.6 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3347, allocations: 4 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.702e-05/0.3348, allocations: 23.91 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3348, allocations: 0 / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3348, allocations: 0 / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3348, allocations: 4 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3348, allocations: 0 / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.3352, allocations: 211.4 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.3353, allocations: 11.95 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.3353, allocations: 0 / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3354, allocations: 11.98 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.3354, allocations: 3.984 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3354, allocations: 0 / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.705e-05/0.3355, allocations: 100.4 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3355, allocations: 3.938 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000236/0.3358, allocations: 12 kB / 1.289 GB, free: 6.176 MB / 0.9825 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.0001787/0.3359, allocations: 107.1 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.3363, allocations: 75.91 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3363, allocations: 0 / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.3365, allocations: 39.97 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.3367, allocations: 15.92 kB / 1.29 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.3371, allocations: 179.2 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3374, allocations: 0.6962 MB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.3375, allocations: 11.44 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3375, allocations: 0 / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of Templates: time 0.002633/0.3401, allocations: 0.8989 MB / 1.291 GB, free: 4.102 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.359700946020894]