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.001397/0.001397, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001567/0.001567, allocations: 158 kB / 22.45 MB, free: 5.375 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.452/1.452, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.79/2.79, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 3.938 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.226e-05/3.403e-05, allocations: 5.375 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002941/0.002976, allocations: 1.495 MB / 0.9524 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003729/0.003348, allocations: 107.7 kB / 0.9525 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.003383, allocations: 4 kB / 0.9525 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.856e-05/0.003432, allocations: 3.938 kB / 0.9526 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.434e-05/0.003496, allocations: 11.92 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.003742, allocations: 27.86 kB / 0.9526 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.003854, allocations: 47.78 kB / 0.9526 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.003965, allocations: 8 kB / 0.9526 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.449e-05/0.004049, allocations: 27.95 kB / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.004103, allocations: 11.98 kB / 0.9527 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.004127, allocations: 7.938 kB / 0.9527 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.723e-05/0.004214, allocations: 19.98 kB / 0.9527 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.00427, allocations: 11.98 kB / 0.9527 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.004304, allocations: 11.94 kB / 0.9527 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.004468, allocations: 63.84 kB / 0.9528 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.00447, allocations: 4 kB / 0.9528 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004471, allocations: 0 / 0.9528 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.004476, allocations: 3.938 kB / 0.9528 GB, free: 9.656 MB / 0.8575 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.0006203/0.005097, allocations: 314 kB / 0.9531 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.00514, allocations: 8.031 kB / 0.9531 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.005182, allocations: 8.891 kB / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.005318, allocations: 113.7 kB / 0.9532 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.005335, allocations: 4.375 kB / 0.9532 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.005352, allocations: 384 / 0.9532 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.005646, allocations: 78.16 kB / 0.9533 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.005656, allocations: 192 / 0.9533 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.005667, allocations: 4.375 kB / 0.9533 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.005672, allocations: 384 / 0.9533 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.006091, allocations: 79.86 kB / 0.9534 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.006556, allocations: 224.6 kB / 0.9536 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.006809, allocations: 66.47 kB / 0.9537 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.006985, allocations: 40.91 kB / 0.9537 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/0.007226, allocations: 31.97 kB / 0.9537 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.007266, allocations: 38.56 kB / 0.9538 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.007267, allocations: 0 / 0.9538 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006106/0.007878, allocations: 149.5 kB / 0.9539 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.007927, allocations: 51.41 kB / 0.954 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.00806, allocations: 138.9 kB / 0.9541 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.00808, allocations: 25.7 kB / 0.9541 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.008155, allocations: 100.1 kB / 0.9542 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.008185, allocations: 15.88 kB / 0.9542 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.008235, allocations: 17.72 kB / 0.9542 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.008408, allocations: 310.8 kB / 0.9545 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.008571, allocations: 39.95 kB / 0.9546 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.008731, allocations: 35.95 kB / 0.9546 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.00904, allocations: 84.78 kB / 0.9547 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.009042, allocations: 0 / 0.9547 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003605/0.009402, allocations: 101.9 kB / 0.9548 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.009419, allocations: 7.938 kB / 0.9548 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.009424, allocations: 48 / 0.9548 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.00944, allocations: 11.98 kB / 0.9548 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.009577, allocations: 19.91 kB / 0.9548 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.009581, allocations: 0 / 0.9548 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-05/0.009674, allocations: 27.88 kB / 0.9549 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.00968, allocations: 0 / 0.9549 GB, free: 7.375 MB / 0.8575 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.0001004/0.009781, allocations: 109.8 kB / 0.955 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.009811, allocations: 4 kB / 0.955 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.01026, allocations: 129.5 kB / 0.9551 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.01026, allocations: 0 / 0.9551 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01026, allocations: 3.938 kB / 0.9551 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01027, allocations: 0 / 0.9551 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.01043, allocations: 121.3 kB / 0.9552 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01043, allocations: 0 / 0.9552 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.0106, allocations: 19.98 kB / 0.9552 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.0106, allocations: 3.938 kB / 0.9552 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.01061, allocations: 4 kB / 0.9552 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.01062, allocations: 3.938 kB / 0.9552 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01062, allocations: 0 / 0.9552 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.01106, allocations: 203.4 kB / 0.9554 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.01107, allocations: 7.953 kB / 0.9554 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.01109, allocations: 4 kB / 0.9554 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.0112, allocations: 11.92 kB / 0.9555 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.01125, allocations: 11.98 kB / 0.9555 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.01126, allocations: 0 / 0.9555 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.514e-05/0.01133, allocations: 102.5 kB / 0.9556 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.01133, allocations: 0 / 0.9556 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002455/0.01158, allocations: 15.94 kB / 0.9556 GB, free: 6.57 MB / 0.8575 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.0001874/0.01177, allocations: 99.23 kB / 0.9557 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004/0.01217, allocations: 79.86 kB / 0.9557 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.01217, allocations: 4 kB / 0.9558 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.01235, allocations: 43.95 kB / 0.9558 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.0126, allocations: 0 / 0.9558 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.01306, allocations: 148.7 kB / 0.9559 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.717e-05/0.01315, allocations: 75.33 kB / 0.956 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.923e-05/0.01318, allocations: 7.984 kB / 0.956 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.01321, allocations: 12.5 kB / 0.956 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.01322, allocations: 0 / 0.956 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of Templates: time 0.003834/0.01705, allocations: 0.8506 MB / 0.9569 GB, free: 5.215 MB / 0.8575 GB " [Timeout remaining time 300] 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: 7.912400402128696]