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.001743/0.001743, 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.002174/0.002174, allocations: 201.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.502/1.502, 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 2.828/2.828, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.002352/0.002352, allocations: 71.89 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9392/0.9416, allocations: 168.7 MB / 1.274 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003097/0.9447, allocations: 1.504 MB / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003825/0.9451, allocations: 111.7 kB / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.9451, allocations: 0 / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.296e-05/0.9451, allocations: 3.938 kB / 1.276 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.9452, allocations: 15.92 kB / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.9455, allocations: 23.91 kB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.9456, allocations: 47.84 kB / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.9457, allocations: 4 kB / 1.276 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.982e-05/0.9457, allocations: 15.98 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.721e-05/0.9458, allocations: 19.86 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.9458, allocations: 4 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.28e-05/0.9459, allocations: 27.91 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.9459, allocations: 8 kB / 1.276 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.946, allocations: 27.84 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.9461, allocations: 62.42 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.9461, allocations: 4 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9461, allocations: 3.938 kB / 1.276 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.9462, allocations: 0 / 1.276 GB, free: 2.621 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.0006985/0.9468, allocations: 383.1 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.9469, allocations: 8.031 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.9469, allocations: 8.891 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.9471, allocations: 175.5 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.9471, allocations: 8.359 kB / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.9472, allocations: 4.359 kB / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.9474, allocations: 74.22 kB / 1.277 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.9475, allocations: 4.125 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.9475, allocations: 7.875 kB / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.9475, allocations: 0 / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.9478, allocations: 79.92 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.9482, allocations: 280.9 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.9485, allocations: 66.47 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.9487, allocations: 48.91 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/0.9489, allocations: 113 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.949, allocations: 34.56 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.949, allocations: 0 / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000622/0.9496, allocations: 141.6 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.9496, allocations: 51.41 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.9498, allocations: 129.8 kB / 1.277 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.9498, allocations: 25.7 kB / 1.277 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.9499, allocations: 96.03 kB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.9499, allocations: 7.953 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.9499, allocations: 21.7 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.9501, allocations: 314.8 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.9503, allocations: 39.95 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.9504, allocations: 35.91 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.9507, allocations: 76.78 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.9507, allocations: 7.938 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003676/0.9511, allocations: 113.6 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.9511, allocations: 4 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.9511, allocations: 0 / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.9511, allocations: 4 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.9513, allocations: 15.98 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.9513, allocations: 3.984 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.24e-05/0.9513, allocations: 11.98 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.9514, allocations: 0 / 1.278 GB, free: 32 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.0001245/0.9515, allocations: 122.2 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.9515, allocations: 7.953 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.9519, allocations: 121.8 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.9519, allocations: 3.938 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.9519, allocations: 0 / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.9519, allocations: 48 / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.9522, allocations: 189.6 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9522, allocations: 3.938 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.9523, allocations: 15.98 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.9523, allocations: 4 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.9523, allocations: 4 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9523, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.9523, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/0.9527, allocations: 211.3 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.9528, allocations: 85.11 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.9528, allocations: 0 / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.9529, allocations: 15.97 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.953, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.953, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.789e-05/0.9531, allocations: 99.27 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9531, allocations: 0 / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002473/0.9533, allocations: 15.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.0002017/0.9535, allocations: 107.2 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004037/0.9539, allocations: 79.86 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9539, allocations: 0 / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.9541, allocations: 39.95 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.9543, allocations: 13.66 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.0005224/0.9549, allocations: 161.4 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/0.9554, allocations: 0.6846 MB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.447e-05/0.9555, allocations: 4 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.9555, allocations: 7.438 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.9555, allocations: 0 / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of Templates: time 0.003968/0.9594, allocations: 0.8199 MB / 1.281 GB, free: 13.08 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 gbode -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: 8.998994909692556]