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.001433/0.001433, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001734/0.001734, allocations: 213.9 kB / 22.99 MB, free: 4.945 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.571/1.571, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.869/2.869, allocations: 476 MB / 0.7707 GB, free: 4.715 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.002175/0.002175, allocations: 69.44 kB / 1.118 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.37, allocations: 170 MB / 1.284 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002859/0.3728, allocations: 1.511 MB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003502/0.3732, allocations: 103.7 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.3732, allocations: 4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.318e-05/0.3733, allocations: 3.938 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.145e-05/0.3733, allocations: 7.922 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.3735, allocations: 19.98 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.186e-05/0.3736, allocations: 47.84 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.573e-05/0.3737, allocations: 11.98 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.3738, allocations: 15.92 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.041e-05/0.3738, allocations: 19.92 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3739, allocations: 4 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.655e-05/0.3739, allocations: 27.91 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.374, allocations: 8 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.374, allocations: 27.8 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.3741, allocations: 51.8 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3742, allocations: 3.938 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3742, allocations: 0 / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3742, allocations: 3.938 kB / 1.286 GB, free: 10 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.000558/0.3747, allocations: 310 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3748, allocations: 12.03 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.3748, allocations: 4.938 kB / 1.286 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.3749, allocations: 120.5 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3749, allocations: 4.375 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.3749, allocations: 8.359 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.3752, allocations: 74.2 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3752, allocations: 4.188 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3752, allocations: 3.938 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3752, allocations: 0 / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.3755, allocations: 71.92 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.3759, allocations: 224.6 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.3761, allocations: 70.53 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.3763, allocations: 44.84 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.3765, allocations: 35.97 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.3765, allocations: 30.56 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3765, allocations: 0 / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005701/0.3771, allocations: 149.5 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.3771, allocations: 59.41 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3772, allocations: 121.8 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.3773, allocations: 29.7 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.3773, allocations: 84.14 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.3773, allocations: 15.89 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.3774, allocations: 13.7 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3775, allocations: 322.8 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.3777, allocations: 35.95 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.3778, allocations: 35.97 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.3781, allocations: 84.7 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3781, allocations: 4 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003438/0.3784, allocations: 113.5 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3784, allocations: 6.5 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.3784, allocations: 0 / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3785, allocations: 3.938 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.3786, allocations: 19.97 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3786, allocations: 8 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.585e-05/0.3787, allocations: 11.98 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3787, allocations: 0 / 1.288 GB, free: 7.738 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 8.916e-05/0.3788, allocations: 117.8 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.3788, allocations: 11.89 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.3792, allocations: 121.9 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3792, allocations: 4 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3792, allocations: 0 / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3792, allocations: 4.031 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.3793, allocations: 121.3 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3793, allocations: 4 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.262e-05/0.3794, allocations: 19.91 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3794, allocations: 0 / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.3795, allocations: 4 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3795, allocations: 0 / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3795, allocations: 0 / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.3799, allocations: 211.4 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.3799, allocations: 11.89 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.3799, allocations: 4 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.38, allocations: 11.98 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.38, allocations: 3.984 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.38, allocations: 4 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.545e-05/0.3801, allocations: 104.8 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3801, allocations: 4 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002232/0.3803, allocations: 8 kB / 1.288 GB, free: 6.918 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.000138/0.3805, allocations: 99.23 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003405/0.3808, allocations: 75.92 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3808, allocations: 0 / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.381, allocations: 51.89 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.3812, allocations: 7.938 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.3816, allocations: 175.1 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.361e-05/0.3817, allocations: 75.33 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.3817, allocations: 7.438 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3817, allocations: 3.938 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of Templates: time 0.00252/0.3842, allocations: 0.9191 MB / 1.29 GB, free: 5.457 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/jenkins1/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: 11.481215921696275]