Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007781/0.0007781, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007829/0.0007829, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8881/0.8881, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.772/1.772, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 4 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.863e-05, allocations: 6.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001954/0.001982, allocations: 1.495 MB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002534/0.002236, allocations: 107.6 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.002264, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.106e-05/0.002305, allocations: 7.938 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.559e-05/0.002361, allocations: 15.86 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.002565, allocations: 19.92 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.6e-05/0.002641, allocations: 47.84 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.59e-05/0.002727, allocations: 11.98 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.383e-05/0.002781, allocations: 27.91 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.713e-05/0.002818, allocations: 11.98 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.002832, allocations: 4 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.609e-05/0.002888, allocations: 19.98 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.002932, allocations: 19.92 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.002951, allocations: 8 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.003077, allocations: 67.72 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.003079, allocations: 0 / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.41e-07/0.00308, allocations: 4 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.003084, allocations: 0 / 1.003 GB, free: 11.12 MB / 0.9636 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.0003492/0.003434, allocations: 302.1 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.003467, allocations: 8.75 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.003618, allocations: 36.86 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.278e-05/0.003691, allocations: 109.8 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.0037, allocations: 384 / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.003709, allocations: 4.375 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.003874, allocations: 78.2 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.003881, allocations: 192 / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.00389, allocations: 384 / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.003894, allocations: 4.312 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.004053, allocations: 91.78 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/0.00434, allocations: 244.5 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.004463, allocations: 70.52 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.329e-05/0.004546, allocations: 48.91 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.004555, allocations: 0 / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.004571, allocations: 34.56 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.004572, allocations: 3.938 kB / 1.004 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003085/0.004881, allocations: 157.5 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.004906, allocations: 55.41 kB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/0.004978, allocations: 132.5 kB / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.004987, allocations: 25.7 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.005027, allocations: 92.06 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.005045, allocations: 15.89 kB / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.005071, allocations: 13.72 kB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.005143, allocations: 318.8 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-05/0.005217, allocations: 31.97 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.912e-05/0.005286, allocations: 47.95 kB / 1.005 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.00543, allocations: 88.7 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005432, allocations: 0 / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00017/0.005602, allocations: 117.6 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.005612, allocations: 7.938 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.005617, allocations: 4 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.005626, allocations: 0 / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.005704, allocations: 19.97 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.005708, allocations: 0 / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.901e-05/0.005747, allocations: 15.98 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.005752, allocations: 0 / 1.005 GB, free: 8.812 MB / 0.9636 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 5.222e-05/0.005804, allocations: 113.8 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.005817, allocations: 7.953 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.00584, allocations: 19.92 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.005842, allocations: 4 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.005846, allocations: 3.938 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.005848, allocations: 0 / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.636e-05/0.005944, allocations: 117.2 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.005946, allocations: 3.984 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.005989, allocations: 19.98 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.005991, allocations: 0 / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.005997, allocations: 4 kB / 1.005 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.005998, allocations: 3.938 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005999, allocations: 0 / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.006193, allocations: 208.2 kB / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.006199, allocations: 4.359 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.006209, allocations: 4 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.44e-05/0.006263, allocations: 15.92 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.006295, allocations: 11.98 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.006298, allocations: 3.984 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.676e-05/0.006335, allocations: 99.27 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006335, allocations: 3.938 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001395/0.006474, allocations: 11.95 kB / 1.005 GB, free: 8.102 MB / 0.9636 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 6.322e-05/0.006538, allocations: 95.25 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.006722, allocations: 83.91 kB / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.006723, allocations: 0 / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.822e-05/0.006801, allocations: 43.95 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.006967, allocations: 11.92 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.00723, allocations: 182.4 kB / 1.006 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.732e-05/0.007278, allocations: 79.33 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.007312, allocations: 12.5 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of SimCode: time 4.01e-07/0.007313, allocations: 0 / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of Templates: time 0.001473/0.008786, allocations: 0.9168 MB / 1.007 GB, free: 6.633 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.549984128214419]