Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001058/0.001058, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001043/0.001043, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.031/1.031, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.415/2.415, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.211e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002817/0.00284, allocations: 1.595 MB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003453/0.003185, allocations: 115.5 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.784e-05/0.003223, allocations: 0 / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.976e-05/0.003272, allocations: 3.938 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.049e-05/0.003343, allocations: 7.922 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.003562, allocations: 27.91 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.391e-05/0.003656, allocations: 43.84 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.779e-05/0.003744, allocations: 11.94 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.144e-05/0.003825, allocations: 23.97 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.00388, allocations: 19.97 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.003897, allocations: 4 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.018e-05/0.003987, allocations: 19.98 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.004034, allocations: 15.92 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.004056, allocations: 15.94 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.004182, allocations: 47.86 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.004183, allocations: 0 / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004184, allocations: 4 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.004187, allocations: 0 / 0.8405 GB, free: 12.22 MB / 0.8073 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.0004022/0.00459, allocations: 272.6 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.004621, allocations: 16.62 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.004772, allocations: 24.91 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.246e-05/0.004865, allocations: 117.6 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.004876, allocations: 4.375 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.004884, allocations: 4.375 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.005009, allocations: 69.75 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.005018, allocations: 192 / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.005025, allocations: 384 / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.005031, allocations: 384 / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.613e-05/0.005057, allocations: 11.94 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.005285, allocations: 179.1 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.036e-05/0.005345, allocations: 73.3 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.906e-05/0.005364, allocations: 8.859 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.005372, allocations: 0 / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.005392, allocations: 34.56 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.005393, allocations: 0 / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001187/0.005511, allocations: 53.66 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.005537, allocations: 51.41 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.653e-05/0.005593, allocations: 130.7 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.005604, allocations: 25.7 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.005631, allocations: 88.12 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.005649, allocations: 7.953 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.005673, allocations: 13.7 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.466e-05/0.005738, allocations: 318.8 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.005751, allocations: 6.828 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.107e-05/0.005762, allocations: 0 / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/0.005794, allocations: 27.95 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.005795, allocations: 4 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.182e-05/0.005847, allocations: 49.61 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.005858, allocations: 6.344 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.005863, allocations: 4 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.005876, allocations: 3.938 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.142e-05/0.005938, allocations: 11.98 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.005941, allocations: 3.984 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.005966, allocations: 11.89 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.00597, allocations: 3.938 kB / 0.8421 GB, free: 10.45 MB / 0.8073 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 4.96e-05/0.00602, allocations: 120.7 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.006036, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.83e-05/0.006054, allocations: 12 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.006058, allocations: 3.938 kB / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.006059, allocations: 0 / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.006061, allocations: 0 / 0.8422 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.006272, allocations: 81.88 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.006272, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.006305, allocations: 11.98 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.006306, allocations: 0 / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/0.00631, allocations: 3.938 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.006311, allocations: 4 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.006312, allocations: 0 / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.685e-05/0.006409, allocations: 186.2 kB / 0.8425 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-06/0.006416, allocations: 3.984 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.006425, allocations: 0 / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.042e-05/0.006466, allocations: 8 kB / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.006499, allocations: 7.984 kB / 0.8425 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.006504, allocations: 3.938 kB / 0.8425 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.841e-05/0.006522, allocations: 23.83 kB / 0.8425 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006522, allocations: 0 / 0.8425 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001179/0.00664, allocations: 15.95 kB / 0.8426 GB, free: 9.93 MB / 0.8073 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 6.407e-05/0.006704, allocations: 80.42 kB / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.425e-05/0.006768, allocations: 20.78 kB / 0.8427 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.006772, allocations: 4 kB / 0.8427 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.976e-05/0.006792, allocations: 8.859 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.006922, allocations: 6.062 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/0.007153, allocations: 143.4 kB / 0.8428 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.538e-05/0.007188, allocations: 67.28 kB / 0.8429 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.169e-05/0.00721, allocations: 0 / 0.8429 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.007264, allocations: 55.36 kB / 0.8429 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.007265, allocations: 0 / 0.8429 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of Templates: time 0.002071/0.009335, allocations: 0.7791 MB / 0.8437 GB, free: 8.719 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.281662981957197]