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.001145/0.001145, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001734/0.002879, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001101/0.001101, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002484, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9714/0.9714, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08614/1.058, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.401/2.401, allocations: 447.1 MB / 0.675 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2608/2.662, allocations: 146 MB / 0.8176 GB, free: 3.797 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 1.383e-06/1.383e-06, allocations: 0 / 0.8189 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.078e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002703/0.002724, allocations: 1.6 MB / 0.8205 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003024/0.003027, allocations: 115.6 kB / 0.8206 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.003064, allocations: 4 kB / 0.8206 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.093e-05/0.003105, allocations: 3.938 kB / 0.8206 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.385e-05/0.003149, allocations: 11.88 kB / 0.8206 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001089/0.003258, allocations: 19.97 kB / 0.8206 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.034e-05/0.003328, allocations: 43.86 kB / 0.8207 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.412e-05/0.003402, allocations: 11.97 kB / 0.8207 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.403e-05/0.003476, allocations: 27.92 kB / 0.8207 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.801e-05/0.003524, allocations: 15.97 kB / 0.8207 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.003538, allocations: 4 kB / 0.8207 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.329e-05/0.003611, allocations: 31.92 kB / 0.8208 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.965e-05/0.003651, allocations: 11.94 kB / 0.8208 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.003671, allocations: 8 kB / 0.8208 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.003786, allocations: 51.77 kB / 0.8208 GB, free: 500 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.003798, allocations: 0 / 0.8208 GB, free: 500 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.282e-06/0.0038, allocations: 0 / 0.8208 GB, free: 500 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.003813, allocations: 0 / 0.8208 GB, free: 500 kB / 0.7917 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.0003511/0.004164, allocations: 272.4 kB / 0.8211 GB, free: 200 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.004192, allocations: 8.031 kB / 0.8211 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.004385, allocations: 110 kB / 0.8212 GB, free: 64 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.216e-05/0.004477, allocations: 117.7 kB / 0.8213 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.004487, allocations: 4.375 kB / 0.8213 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.004498, allocations: 4.375 kB / 0.8213 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.004605, allocations: 65.75 kB / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.004611, allocations: 192 / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.004619, allocations: 4.375 kB / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.004628, allocations: 384 / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.444e-05/0.004652, allocations: 15.88 kB / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.004865, allocations: 179.1 kB / 0.8216 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.792e-05/0.004933, allocations: 73.3 kB / 0.8217 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.00495, allocations: 8.859 kB / 0.8217 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.004958, allocations: 0 / 0.8217 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.004976, allocations: 30.56 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 6.31e-07/0.004976, allocations: 3.938 kB / 0.8217 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.000111/0.005087, allocations: 57.77 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.005116, allocations: 51.41 kB / 0.8218 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.298e-05/0.005179, allocations: 130.7 kB / 0.8219 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.00519, allocations: 25.7 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.005223, allocations: 92.06 kB / 0.822 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.005241, allocations: 11.89 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.005266, allocations: 17.72 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.005338, allocations: 318.8 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/0.005352, allocations: 6.828 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.216e-05/0.005364, allocations: 4 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.972e-05/0.005393, allocations: 23.61 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005395, allocations: 0 / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.038e-05/0.005445, allocations: 45.69 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.005456, allocations: 4 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.005461, allocations: 4 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.005474, allocations: 3.938 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.108e-05/0.005545, allocations: 8 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.00555, allocations: 4 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.00558, allocations: 7.984 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.005585, allocations: 0 / 0.8225 GB, free: 14.62 MB / 0.8073 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.984e-05/0.005635, allocations: 112.7 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.005651, allocations: 7.938 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.005675, allocations: 19.92 kB / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.005678, allocations: 7.938 kB / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.005679, allocations: 0 / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.005681, allocations: 0 / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.083e-05/0.005762, allocations: 73.88 kB / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.005763, allocations: 0 / 0.8227 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.005794, allocations: 8 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-06/0.005801, allocations: 11.94 kB / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005803, allocations: 0 / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.005807, allocations: 0 / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005807, allocations: 4 kB / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.00581, allocations: 7.938 kB / 0.8227 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.724e-05/0.005897, allocations: 182.3 kB / 0.8229 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-06/0.005905, allocations: 0 / 0.8229 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.005942, allocations: 8.359 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.929e-05/0.005971, allocations: 7.938 kB / 0.8229 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.005974, allocations: 3.938 kB / 0.8229 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.751e-05/0.005992, allocations: 22.7 kB / 0.8229 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005992, allocations: 0 / 0.8229 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001076/0.006099, allocations: 12 kB / 0.8229 GB, free: 14.09 MB / 0.8073 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 7.904e-05/0.006178, allocations: 84.41 kB / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.084e-05/0.006239, allocations: 16.84 kB / 0.823 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.006245, allocations: 4 kB / 0.823 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.539e-05/0.00627, allocations: 12.86 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.006433, allocations: 72.73 kB / 0.8231 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.006821, allocations: 155.1 kB / 0.8233 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.332e-05/0.006855, allocations: 63.22 kB / 0.8233 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.321e-05/0.006878, allocations: 3.984 kB / 0.8233 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.764e-05/0.006945, allocations: 55.38 kB / 0.8234 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of SimCode: time 6.41e-07/0.006946, allocations: 0 / 0.8234 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of Templates: time 0.002096/0.009042, allocations: 0.8029 MB / 0.8242 GB, free: 12.77 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.198729421012104]