Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.0009798/0.0009798, allocations: 80.81 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.001033/0.001033, allocations: 177 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.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.5 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.4/2.4, 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.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.557e-05, allocations: 5.047 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001869/0.001895, allocations: 0.6901 MB / 0.8394 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004746/0.002369, allocations: 183.2 kB / 0.8395 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.002407, allocations: 0 / 0.8395 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.002423, allocations: 0 / 0.8395 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.002613, allocations: 15.88 kB / 0.8396 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.002813, allocations: 67.75 kB / 0.8396 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.7e-05/0.00289, allocations: 39.89 kB / 0.8397 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.002931, allocations: 3.938 kB / 0.8397 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.002988, allocations: 19.92 kB / 0.8397 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.003053, allocations: 15.98 kB / 0.8397 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.00307, allocations: 3.984 kB / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.003203, allocations: 47.88 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.003222, allocations: 8 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.003241, allocations: 11.92 kB / 0.8398 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.003401, allocations: 99.66 kB / 0.8399 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003403, allocations: 0 / 0.8399 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.82e-07/0.003404, allocations: 4 kB / 0.8399 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.003407, allocations: 0 / 0.8399 GB, free: 12.93 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.0004009/0.003808, allocations: 260.7 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.003846, allocations: 8.625 kB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004133/0.004259, allocations: 56.86 kB / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.00437, allocations: 121.7 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.004382, allocations: 4.375 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.004406, allocations: 4.375 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.004559, allocations: 86.81 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.004573, allocations: 4.188 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.004587, allocations: 4.375 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.004593, allocations: 4.375 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.48e-05/0.004668, allocations: 19.94 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.004847, allocations: 140.3 kB / 0.8405 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.004983, allocations: 42.67 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.005032, allocations: 28.89 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.005044, allocations: 0 / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.005068, allocations: 38.5 kB / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.005069, allocations: 0 / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.01509/0.02016, allocations: 1.254 MB / 0.8419 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.02019, allocations: 51.41 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.743e-05/0.02027, allocations: 114.7 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.02032, allocations: 29.7 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.02036, allocations: 96.06 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.02041, allocations: 19.8 kB / 0.8422 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.02055, allocations: 29.62 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.02069, allocations: 314.8 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.02085, allocations: 75.98 kB / 0.8426 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.02102, allocations: 75.94 kB / 0.8426 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.02137, allocations: 165.4 kB / 0.8428 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.02137, allocations: 0 / 0.8428 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004276/0.02179, allocations: 197.5 kB / 0.843 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.02181, allocations: 11.94 kB / 0.843 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.02182, allocations: 0 / 0.843 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.02183, allocations: 0 / 0.843 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/0.0225, allocations: 55.94 kB / 0.8431 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.0225, allocations: 4 kB / 0.8431 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.023, allocations: 47.94 kB / 0.8431 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.02304, allocations: 4 kB / 0.8431 GB, free: 9.438 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 (9): * Single equations (assignments): 9 * 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.0001093/0.02315, allocations: 109.8 kB / 0.8432 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.02321, allocations: 4 kB / 0.8432 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.034e-05/0.0233, allocations: 28.36 kB / 0.8432 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.0233, allocations: 0 / 0.8432 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.02331, allocations: 0 / 0.8432 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.02331, allocations: 3.938 kB / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.0254, allocations: 496 kB / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.0254, allocations: 0 / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004872/0.02589, allocations: 51.94 kB / 0.8438 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.02589, allocations: 4.062 kB / 0.8438 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.02592, allocations: 4 kB / 0.8438 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.02592, allocations: 0 / 0.8438 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.02592, allocations: 4 kB / 0.8438 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.02627, allocations: 209.2 kB / 0.844 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.02628, allocations: 15.92 kB / 0.844 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.02633, allocations: 4 kB / 0.844 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.02673, allocations: 35.95 kB / 0.844 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.02674, allocations: 8 kB / 0.844 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.02677, allocations: 0 / 0.844 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.775e-05/0.02679, allocations: 16.84 kB / 0.8441 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.02679, allocations: 0 / 0.8441 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002274/0.02701, allocations: 96 kB / 0.8441 GB, free: 8.309 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.000137/0.02715, allocations: 84.3 kB / 0.8442 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000393/0.02754, allocations: 128.8 kB / 0.8444 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.02755, allocations: 3.938 kB / 0.8444 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.0277, allocations: 52.83 kB / 0.8444 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.02787, allocations: 11.94 kB / 0.8444 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.02899, allocations: 242.1 kB / 0.8446 GB, free: 7.746 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.648e-05/0.02903, allocations: 59.36 kB / 0.8447 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000289/0.02932, allocations: 63.97 kB / 0.8448 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004903/0.02981, allocations: 59.36 kB / 0.8448 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of SimCode: time 7.42e-07/0.02981, allocations: 0 / 0.8448 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of Templates: time 0.0115/0.04131, allocations: 10.36 MB / 0.8549 GB, free: 13.17 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.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.524634953122586]