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.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.001315/0.001315, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001493/0.001493, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.517/1.517, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.031/3.031, allocations: 476.7 MB / 0.7645 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 71.89 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9236/0.9256, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002874/0.9285, allocations: 1.515 MB / 1.276 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00035/0.9289, allocations: 111.7 kB / 1.276 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.9289, allocations: 0 / 1.276 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.628e-05/0.9289, allocations: 7.922 kB / 1.276 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.735e-05/0.929, allocations: 11.92 kB / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.9292, allocations: 19.97 kB / 1.276 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.492e-05/0.9293, allocations: 43.8 kB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.441e-05/0.9294, allocations: 11.98 kB / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.969e-05/0.9295, allocations: 15.98 kB / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.9295, allocations: 27.86 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.9295, allocations: 4 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.739e-05/0.9296, allocations: 19.98 kB / 1.276 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.234e-05/0.9297, allocations: 15.97 kB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.9297, allocations: 23.86 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.9298, allocations: 54.42 kB / 1.276 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.9298, allocations: 0 / 1.276 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9298, allocations: 0 / 1.276 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.9299, allocations: 3.938 kB / 1.276 GB, free: 2.641 MB / 0.9669 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.0006139/0.9305, allocations: 387.1 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.9305, allocations: 12.03 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.9305, allocations: 8.828 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.9307, allocations: 172.3 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.9307, allocations: 4.375 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.9307, allocations: 4.375 kB / 1.276 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.931, allocations: 82.14 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.931, allocations: 4.188 kB / 1.277 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.931, allocations: 3.938 kB / 1.277 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.931, allocations: 0 / 1.277 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.9313, allocations: 71.92 kB / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.9317, allocations: 288.8 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.932, allocations: 74.45 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.9321, allocations: 40.92 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003056/0.9324, allocations: 105.1 kB / 1.277 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.9325, allocations: 34.56 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.9325, allocations: 0 / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005912/0.9331, allocations: 149.5 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.9331, allocations: 55.39 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.9332, allocations: 125.8 kB / 1.277 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.9332, allocations: 25.7 kB / 1.277 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/0.9333, allocations: 100 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.9333, allocations: 7.953 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.9334, allocations: 17.72 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.9335, allocations: 314.8 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.9337, allocations: 35.97 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.9339, allocations: 43.95 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.9341, allocations: 72.78 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.9341, allocations: 3.938 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003475/0.9345, allocations: 121.5 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.9345, allocations: 4 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.9345, allocations: 0 / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.9345, allocations: 0 / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.9347, allocations: 19.98 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.9347, allocations: 0 / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.415e-05/0.9348, allocations: 15.98 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.547e-06/0.9348, allocations: 4 kB / 1.278 GB, free: 36 kB / 0.9669 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 0.0001116/0.9349, allocations: 118.3 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.9349, allocations: 3.953 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.9353, allocations: 121.5 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.9353, allocations: 4 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9353, allocations: 11.92 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.9353, allocations: 3.938 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.9355, allocations: 173.6 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9355, allocations: 3.984 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.472e-05/0.9356, allocations: 15.98 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.9356, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.9356, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.9356, allocations: 4 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.9356, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/0.9361, allocations: 215.7 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.9361, allocations: 77.11 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.9361, allocations: 4 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.9362, allocations: 11.98 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.9363, allocations: 12.02 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.9363, allocations: 4 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.934e-05/0.9364, allocations: 95.27 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9364, allocations: 0 / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002357/0.9366, allocations: 19.94 kB / 1.279 GB, free: 15.05 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.000204/0.9368, allocations: 99.23 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003897/0.9372, allocations: 79.92 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9372, allocations: 0 / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.9374, allocations: 43.89 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.9376, allocations: 17.64 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.9381, allocations: 153.4 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.9385, allocations: 0.6924 MB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.806e-05/0.9385, allocations: 0 / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.9385, allocations: 11.44 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.9385, allocations: 0 / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of Templates: time 0.003811/0.9424, allocations: 0.8103 MB / 1.281 GB, free: 13.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.160827377811074]