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.001405/0.001405, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001544/0.001544, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.789 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.954/2.954, allocations: 476 MB / 0.7699 GB, free: 4.887 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.002241/0.002241, allocations: 64.42 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3743, allocations: 170 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002823/0.3771, allocations: 1.493 MB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003671/0.3775, allocations: 111.7 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.3775, allocations: 3.938 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.936e-05/0.3776, allocations: 7.922 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.765e-05/0.3776, allocations: 7.922 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.3778, allocations: 23.97 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.394e-05/0.3779, allocations: 43.86 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.378, allocations: 7.984 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.026e-05/0.3781, allocations: 15.94 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.075e-05/0.3782, allocations: 23.84 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.3782, allocations: 8 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.458e-05/0.3783, allocations: 19.98 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.3783, allocations: 19.91 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.3783, allocations: 15.94 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.3785, allocations: 51.75 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3785, allocations: 4 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3785, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.3785, allocations: 0 / 1.285 GB, free: 10.04 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.0005473/0.379, allocations: 306 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3791, allocations: 12.03 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.3791, allocations: 4.938 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.3793, allocations: 130.3 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3793, allocations: 8.375 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.3793, allocations: 4.375 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.3795, allocations: 70.22 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3796, allocations: 192 / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3796, allocations: 3.938 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3796, allocations: 4 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.3799, allocations: 71.92 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.3802, allocations: 236.5 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.3805, allocations: 62.53 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.3806, allocations: 48.84 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000223/0.3808, allocations: 35.97 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3809, allocations: 30.56 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3809, allocations: 0 / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005797/0.3815, allocations: 153.5 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.3815, allocations: 55.41 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.3816, allocations: 125.8 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.3817, allocations: 25.7 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.3817, allocations: 88.14 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.3817, allocations: 15.88 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.3818, allocations: 13.72 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3819, allocations: 314.8 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.3821, allocations: 43.95 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.3822, allocations: 35.95 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.3825, allocations: 80.78 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3825, allocations: 0 / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003363/0.3829, allocations: 117.5 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3829, allocations: 4 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3829, allocations: 0 / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.3829, allocations: 0 / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.383, allocations: 23.91 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.383, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.3831, allocations: 11.98 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3831, allocations: 4 kB / 1.287 GB, free: 7.762 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 9.337e-05/0.3832, allocations: 113.8 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.3832, allocations: 15.88 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/0.3836, allocations: 117.5 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3836, allocations: 0 / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3836, allocations: 0 / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3836, allocations: 0 / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.3838, allocations: 129.3 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3838, allocations: 0 / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.416e-05/0.3839, allocations: 19.92 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3839, allocations: 0 / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.3839, allocations: 3.938 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3839, allocations: 4 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3839, allocations: 0 / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.3843, allocations: 211.8 kB / 1.287 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.3843, allocations: 11.92 kB / 1.287 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.3843, allocations: 4 kB / 1.287 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3844, allocations: 15.92 kB / 1.287 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.3845, allocations: 7.984 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.3845, allocations: 0 / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.99e-05/0.3846, allocations: 100.9 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3846, allocations: 0 / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002401/0.3848, allocations: 12 kB / 1.288 GB, free: 6.945 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.0001509/0.3849, allocations: 103.2 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003521/0.3853, allocations: 71.92 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3853, allocations: 0 / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.3855, allocations: 47.89 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.3857, allocations: 11.94 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.3861, allocations: 153.4 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.812e-05/0.3862, allocations: 71.33 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.855e-05/0.3862, allocations: 0 / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.3862, allocations: 15.44 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3862, allocations: 0 / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of Templates: time 0.003667/0.3899, allocations: 0.8788 MB / 1.289 GB, free: 5.559 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/jenkins/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: 9.22005045041442]