Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 114.9 kB / 17.08 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 193.2 kB / 20.03 MB, free: 3.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 437.1 MB / 0.7177 GB, free: 4.496 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 71.89 kB / 1.028 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3038, allocations: 151.6 MB / 1.176 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002755/0.3066, allocations: 1.478 MB / 1.177 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003505/0.307, allocations: 116.5 kB / 1.177 GB, free: 4.387 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.307, allocations: 0 / 1.177 GB, free: 4.387 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.729e-05/0.3071, allocations: 3.938 kB / 1.177 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.549e-05/0.3072, allocations: 3.938 kB / 1.177 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.3074, allocations: 31.91 kB / 1.177 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.3075, allocations: 39.91 kB / 1.177 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.3076, allocations: 8 kB / 1.177 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.18e-05/0.3077, allocations: 19.92 kB / 1.178 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.3077, allocations: 27.91 kB / 1.178 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.3078, allocations: 4 kB / 1.178 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.475e-05/0.3078, allocations: 19.98 kB / 1.178 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.3079, allocations: 19.86 kB / 1.178 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.308, allocations: 23.86 kB / 1.178 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.3081, allocations: 59.73 kB / 1.178 GB, free: 4.129 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3081, allocations: 4 kB / 1.178 GB, free: 4.125 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3081, allocations: 0 / 1.178 GB, free: 4.125 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.3081, allocations: 0 / 1.178 GB, free: 4.125 MB / 0.92 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.0006498/0.3088, allocations: 383.1 kB / 1.178 GB, free: 3.699 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3088, allocations: 8.031 kB / 1.178 GB, free: 3.691 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.3089, allocations: 16.81 kB / 1.178 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.309, allocations: 172.3 kB / 1.178 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3091, allocations: 4.375 kB / 1.178 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.3091, allocations: 384 / 1.178 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.3093, allocations: 78.2 kB / 1.178 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.3094, allocations: 4.188 kB / 1.178 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3094, allocations: 3.938 kB / 1.178 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3094, allocations: 3.938 kB / 1.178 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.3097, allocations: 71.92 kB / 1.178 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.3101, allocations: 281 kB / 1.179 GB, free: 2.977 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.3104, allocations: 74.47 kB / 1.179 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.3106, allocations: 36.92 kB / 1.179 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/0.3109, allocations: 109.1 kB / 1.179 GB, free: 2.73 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.543e-05/0.3109, allocations: 46.48 kB / 1.179 GB, free: 2.676 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.3109, allocations: 3.938 kB / 1.179 GB, free: 2.672 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005901/0.3115, allocations: 141.5 kB / 1.179 GB, free: 2.527 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.3116, allocations: 51.41 kB / 1.179 GB, free: 2.465 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3117, allocations: 129.8 kB / 1.179 GB, free: 2.328 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.3117, allocations: 29.7 kB / 1.179 GB, free: 2.293 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.3118, allocations: 88.14 kB / 1.179 GB, free: 2.203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.3118, allocations: 15.84 kB / 1.179 GB, free: 2.188 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.3119, allocations: 13.72 kB / 1.179 GB, free: 2.168 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.312, allocations: 322.8 kB / 1.18 GB, free: 1.844 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.3122, allocations: 39.95 kB / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.3124, allocations: 35.91 kB / 1.18 GB, free: 1.77 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.3127, allocations: 76.78 kB / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3127, allocations: 3.938 kB / 1.18 GB, free: 1.688 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003427/0.313, allocations: 117.6 kB / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3131, allocations: 6.5 kB / 1.18 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3131, allocations: 0 / 1.18 GB, free: 1.562 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3131, allocations: 4 kB / 1.18 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3132, allocations: 11.98 kB / 1.18 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3132, allocations: 0 / 1.18 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.248e-05/0.3133, allocations: 15.97 kB / 1.18 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.3133, allocations: 4 kB / 1.18 GB, free: 1.527 MB / 0.92 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 9.362e-05/0.3134, allocations: 121.7 kB / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.3135, allocations: 4 kB / 1.18 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/0.3139, allocations: 125.8 kB / 1.18 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3139, allocations: 0 / 1.18 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3139, allocations: 4 kB / 1.18 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3139, allocations: 0 / 1.18 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.3141, allocations: 185.6 kB / 1.18 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3141, allocations: 3.938 kB / 1.18 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.743e-05/0.3142, allocations: 15.98 kB / 1.18 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3142, allocations: 0 / 1.18 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3142, allocations: 4 kB / 1.18 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3142, allocations: 0 / 1.18 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3142, allocations: 0 / 1.18 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.3147, allocations: 215.3 kB / 1.181 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.3147, allocations: 81.06 kB / 1.181 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.3147, allocations: 3.938 kB / 1.181 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3149, allocations: 11.98 kB / 1.181 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.3149, allocations: 3.984 kB / 1.181 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.3149, allocations: 8 kB / 1.181 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.143e-05/0.315, allocations: 99.27 kB / 1.181 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.315, allocations: 0 / 1.181 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002273/0.3152, allocations: 8 kB / 1.181 GB, free: 0.543 MB / 0.92 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.000164/0.3154, allocations: 107.2 kB / 1.181 GB, free: 440 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003953/0.3158, allocations: 87.86 kB / 1.181 GB, free: 352 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3158, allocations: 0 / 1.181 GB, free: 352 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.316, allocations: 39.95 kB / 1.181 GB, free: 312 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.3163, allocations: 7.938 kB / 1.181 GB, free: 304 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.3167, allocations: 183 kB / 1.181 GB, free: 88 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.3171, allocations: 0.6885 MB / 1.182 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.3171, allocations: 11.44 kB / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.3171, allocations: 0 / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of Templates: time 0.003129/0.3203, allocations: 0.9027 MB / 1.183 GB, free: 14.46 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.162369860918261]