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.000967/0.000967, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001204/0.002171, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008439/0.0008439, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009781/0.001822, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.938/0.938, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1038/1.042, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.481/2.481, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2508/2.732, allocations: 145.9 MB / 0.817 GB, free: 4.23 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.614e-06/1.614e-06, allocations: 0 / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.954e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002779/0.002799, allocations: 1.59 MB / 0.8199 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002232/0.003022, allocations: 119.6 kB / 0.82 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.003059, allocations: 0 / 0.82 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.215e-05/0.003101, allocations: 3.938 kB / 0.82 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.604e-05/0.003147, allocations: 7.875 kB / 0.82 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.003276, allocations: 23.97 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.908e-05/0.003365, allocations: 43.8 kB / 0.8201 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.571e-05/0.003451, allocations: 8 kB / 0.8201 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.415e-05/0.003545, allocations: 31.95 kB / 0.8201 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.431e-05/0.003599, allocations: 19.86 kB / 0.8201 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.00362, allocations: 8 kB / 0.8201 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-05/0.003717, allocations: 27.92 kB / 0.8201 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.003759, allocations: 11.92 kB / 0.8202 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.00378, allocations: 8 kB / 0.8202 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.003917, allocations: 43.84 kB / 0.8202 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.738e-05/0.003935, allocations: 0 / 0.8202 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.41e-07/0.003935, allocations: 0 / 0.8202 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.942e-05/0.003955, allocations: 0 / 0.8202 GB, free: 0.9414 MB / 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.0004629/0.004418, allocations: 272.4 kB / 0.8205 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.004455, allocations: 8.625 kB / 0.8205 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.00469, allocations: 110 kB / 0.8206 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.004793, allocations: 121.7 kB / 0.8207 GB, free: 380 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.004804, allocations: 384 / 0.8207 GB, free: 380 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.004817, allocations: 8.375 kB / 0.8207 GB, free: 372 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.004965, allocations: 69.69 kB / 0.8208 GB, free: 292 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.004973, allocations: 192 / 0.8208 GB, free: 292 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.00498, allocations: 384 / 0.8208 GB, free: 292 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.004986, allocations: 384 / 0.8208 GB, free: 292 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.761e-05/0.005024, allocations: 15.94 kB / 0.8208 GB, free: 276 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.005309, allocations: 179.1 kB / 0.821 GB, free: 80 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.005417, allocations: 73.3 kB / 0.821 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.005446, allocations: 8.859 kB / 0.821 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.005455, allocations: 3.938 kB / 0.821 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.005479, allocations: 30.56 kB / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.005481, allocations: 0 / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001506/0.005631, allocations: 53.66 kB / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.005664, allocations: 55.41 kB / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.34e-05/0.005748, allocations: 134.6 kB / 0.8213 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.00576, allocations: 25.7 kB / 0.8213 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.005798, allocations: 88.08 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.005822, allocations: 11.89 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.005863, allocations: 21.7 kB / 0.8214 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.005953, allocations: 310.8 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.164e-05/0.005975, allocations: 6.828 kB / 0.8217 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.789e-05/0.005993, allocations: 7.984 kB / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.383e-05/0.006037, allocations: 19.69 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.006039, allocations: 0 / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.245e-05/0.006121, allocations: 45.69 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.006136, allocations: 4 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.006142, allocations: 0 / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.006155, allocations: 11.88 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.006265, allocations: 11.98 kB / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.00627, allocations: 4 kB / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.708e-05/0.006307, allocations: 7.984 kB / 0.8219 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.006314, allocations: 0 / 0.8219 GB, free: 15.07 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 8.188e-05/0.006396, allocations: 112.7 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.006421, allocations: 8 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.006448, allocations: 8 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.006452, allocations: 7.938 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.006454, allocations: 0 / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.006459, allocations: 3.984 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.006664, allocations: 77.88 kB / 0.8221 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.006666, allocations: 0 / 0.8221 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.178e-05/0.006728, allocations: 8 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.006737, allocations: 7.953 kB / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.006739, allocations: 0 / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.006745, allocations: 0 / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.006748, allocations: 7.984 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.006751, allocations: 11.88 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.006886, allocations: 182.2 kB / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.006898, allocations: 0 / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.006969, allocations: 8 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.007006, allocations: 7.984 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.007012, allocations: 3.938 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.52e-05/0.007037, allocations: 16.84 kB / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.007037, allocations: 0 / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002117/0.007249, allocations: 8 kB / 0.8223 GB, free: 14.55 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 0.0001089/0.007358, allocations: 87.55 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.069e-05/0.007448, allocations: 21.2 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.007457, allocations: 7.938 kB / 0.8224 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.589e-05/0.007483, allocations: 8.859 kB / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.007697, allocations: 8 kB / 0.8224 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.008196, allocations: 159.3 kB / 0.8226 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.861e-05/0.008245, allocations: 67.2 kB / 0.8227 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.637e-05/0.008281, allocations: 3.984 kB / 0.8227 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/0.00835, allocations: 55.38 kB / 0.8227 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.008351, allocations: 0 / 0.8227 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of Templates: time 0.003004/0.01136, allocations: 0.79 MB / 0.8235 GB, free: 13.3 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.293381778523326]