Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.002059/0.002059, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.00234/0.00234, allocations: 186 kB / 20.78 MB, free: 1.547 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.478/1.478, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.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.8/2.8, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 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.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 1.107 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 168.7 MB / 1.272 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001795/1.016, allocations: 0.6538 MB / 1.273 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004227/1.017, allocations: 194.3 kB / 1.273 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/1.017, allocations: 0 / 1.273 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.311e-05/1.017, allocations: 3.938 kB / 1.273 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001778/1.017, allocations: 11.34 kB / 1.273 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/1.017, allocations: 76.64 kB / 1.273 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.527e-05/1.017, allocations: 35.77 kB / 1.273 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/1.017, allocations: 2.266 kB / 1.273 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.558e-05/1.017, allocations: 12.11 kB / 1.273 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.917e-05/1.017, allocations: 23.81 kB / 1.273 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/1.017, allocations: 2.469 kB / 1.273 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/1.018, allocations: 109.9 kB / 1.273 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/1.018, allocations: 7.172 kB / 1.273 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/1.018, allocations: 21.11 kB / 1.273 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/1.018, allocations: 107.8 kB / 1.273 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/1.018, allocations: 0 / 1.273 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.362e-06/1.018, allocations: 0 / 1.273 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.899e-06/1.018, allocations: 1.094 kB / 1.273 GB, free: 7.211 MB / 0.9981 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.0004601/1.018, allocations: 368.2 kB / 1.274 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.018, allocations: 9.406 kB / 1.274 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/1.018, allocations: 7.016 kB / 1.274 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.78e-05/1.019, allocations: 180.1 kB / 1.274 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/1.019, allocations: 1.25 kB / 1.274 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/1.019, allocations: 6.266 kB / 1.274 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/1.019, allocations: 55.75 kB / 1.274 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/1.019, allocations: 1.062 kB / 1.274 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/1.019, allocations: 5.109 kB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/1.019, allocations: 5.094 kB / 1.274 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/1.019, allocations: 33.33 kB / 1.274 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/1.019, allocations: 248.8 kB / 1.274 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/1.019, allocations: 65.17 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/1.019, allocations: 25.22 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/1.019, allocations: 8.672 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/1.019, allocations: 39.44 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/1.019, allocations: 1.281 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.02603/1.045, allocations: 1.611 MB / 1.276 GB, free: 6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/1.045, allocations: 56.62 kB / 1.276 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/1.046, allocations: 118.7 kB / 1.276 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/1.046, allocations: 25.7 kB / 1.276 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/1.046, allocations: 89.72 kB / 1.276 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/1.046, allocations: 26.81 kB / 1.276 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/1.046, allocations: 24.44 kB / 1.276 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.279e-05/1.046, allocations: 322.6 kB / 1.276 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/1.046, allocations: 144.3 kB / 1.277 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/1.047, allocations: 140.5 kB / 1.277 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009772/1.048, allocations: 299.7 kB / 1.277 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/1.048, allocations: 1.031 kB / 1.277 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001203/1.049, allocations: 340.1 kB / 1.277 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.049, allocations: 5.688 kB / 1.277 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.049, allocations: 0 / 1.277 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/1.049, allocations: 1.062 kB / 1.277 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/1.051, allocations: 59.45 kB / 1.277 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.051, allocations: 5.484 kB / 1.277 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.052, allocations: 45.27 kB / 1.277 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.831e-05/1.052, allocations: 3.922 kB / 1.277 GB, free: 5.039 MB / 0.9981 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.0001438/1.052, allocations: 117.8 kB / 1.278 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/1.052, allocations: 7.703 kB / 1.278 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/1.052, allocations: 18.95 kB / 1.278 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.052, allocations: 0.875 kB / 1.278 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/1.052, allocations: 0.5156 kB / 1.278 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.052, allocations: 1.734 kB / 1.278 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005567/1.058, allocations: 0.8445 MB / 1.278 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.058, allocations: 5.781 kB / 1.278 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/1.059, allocations: 52.11 kB / 1.278 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/1.059, allocations: 1.734 kB / 1.278 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.712e-05/1.059, allocations: 7.422 kB / 1.278 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.87e-06/1.059, allocations: 13.52 kB / 1.278 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.059, allocations: 1.594 kB / 1.278 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009135/1.06, allocations: 316 kB / 1.279 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/1.06, allocations: 85 kB / 1.279 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.108e-05/1.06, allocations: 6.312 kB / 1.279 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009887/1.061, allocations: 43.73 kB / 1.279 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/1.061, allocations: 7.078 kB / 1.279 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/1.061, allocations: 4.484 kB / 1.279 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.161e-05/1.061, allocations: 100.8 kB / 1.279 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/1.061, allocations: 0 / 1.279 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004112/1.062, allocations: 93.89 kB / 1.279 GB, free: 4.102 MB / 0.9981 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.0002052/1.062, allocations: 128.8 kB / 1.279 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009622/1.063, allocations: 236 kB / 1.279 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.063, allocations: 1.812 kB / 1.279 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004047/1.063, allocations: 94.69 kB / 1.28 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/1.064, allocations: 2.969 kB / 1.28 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/1.066, allocations: 322.1 kB / 1.28 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/1.066, allocations: 0.6871 MB / 1.281 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004379/1.067, allocations: 50.88 kB / 1.281 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004433/1.067, allocations: 19.38 kB / 1.281 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/1.067, allocations: 0 / 1.281 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of Templates: time 0.01602/1.083, allocations: 8.831 MB / 1.289 GB, free: 2.652 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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: 9.334718500263989]