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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 107.6 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 188.8 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.676/2.676, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.39 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3072, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001926/0.3091, allocations: 0.7065 MB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004475/0.3096, allocations: 207.2 kB / 1.065 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.3096, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.3097, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.3099, allocations: 3.938 kB / 1.065 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.3101, allocations: 59.89 kB / 1.065 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.538e-05/0.3101, allocations: 35.91 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.815e-05/0.3102, allocations: 0 / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.514e-05/0.3102, allocations: 15.94 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.3103, allocations: 23.89 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.3103, allocations: 4 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.3105, allocations: 107.7 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.3105, allocations: 11.94 kB / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.3106, allocations: 7.922 kB / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.3107, allocations: 71.94 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3107, allocations: 0 / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3107, allocations: 0 / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3107, allocations: 4 kB / 1.065 GB, free: 13.88 MB / 0.8419 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.000599/0.3113, allocations: 367.6 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3114, allocations: 8.031 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.3114, allocations: 8.844 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.3116, allocations: 172.4 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.3116, allocations: 4.375 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.3117, allocations: 4.375 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.3118, allocations: 54.23 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3119, allocations: 192 / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.3119, allocations: 7.938 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3119, allocations: 3.938 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.312, allocations: 35.95 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.3124, allocations: 252.8 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.3126, allocations: 70.47 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.073e-05/0.3127, allocations: 24.94 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.3127, allocations: 4 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.3127, allocations: 30.56 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3127, allocations: 0 / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.02992/0.3427, allocations: 1.616 MB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.3428, allocations: 55.34 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.3429, allocations: 121.8 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/0.343, allocations: 25.7 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.3431, allocations: 92.12 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.578e-05/0.3432, allocations: 27.56 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.3434, allocations: 25.7 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3436, allocations: 326.8 kB / 1.069 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.3441, allocations: 135.9 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004918/0.3446, allocations: 143.9 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009965/0.3456, allocations: 296.8 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3456, allocations: 3.938 kB / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001254/0.3469, allocations: 333.6 kB / 1.069 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3469, allocations: 4.656 kB / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3469, allocations: 0 / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3469, allocations: 0 / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.3485, allocations: 63.88 kB / 1.07 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.3486, allocations: 0 / 1.07 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.3499, allocations: 47.94 kB / 1.07 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-05/0.35, allocations: 4 kB / 1.07 GB, free: 9.332 MB / 0.8419 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.0002144/0.3502, allocations: 127.9 kB / 1.07 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.279e-05/0.3503, allocations: 11.89 kB / 1.07 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.3505, allocations: 16.38 kB / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3505, allocations: 0 / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3505, allocations: 4 kB / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3505, allocations: 0 / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005983/0.3565, allocations: 0.8457 MB / 1.071 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3565, allocations: 0 / 1.071 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.3577, allocations: 55.94 kB / 1.071 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3577, allocations: 0 / 1.071 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/0.3578, allocations: 12.05 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.3578, allocations: 3.938 kB / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3578, allocations: 0 / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009978/0.3588, allocations: 325.1 kB / 1.071 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.3588, allocations: 85.02 kB / 1.071 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.299e-05/0.3589, allocations: 0 / 1.071 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.36, allocations: 43.89 kB / 1.071 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.36, allocations: 7.984 kB / 1.071 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.3601, allocations: 0 / 1.071 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.065e-05/0.3602, allocations: 99.27 kB / 1.071 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3602, allocations: 4 kB / 1.071 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004491/0.3606, allocations: 92 kB / 1.071 GB, free: 7.504 MB / 0.8419 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.0002446/0.3609, allocations: 119.2 kB / 1.071 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.3619, allocations: 243.8 kB / 1.072 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3619, allocations: 4 kB / 1.072 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004515/0.3624, allocations: 99.88 kB / 1.072 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.3627, allocations: 7.938 kB / 1.072 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.3655, allocations: 340.3 kB / 1.072 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.366, allocations: 0.6885 MB / 1.073 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/0.3665, allocations: 15.91 kB / 1.073 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of SimCode: time 5.38e-06/0.3665, allocations: 0 / 1.073 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of Templates: time 0.008638/0.3751, allocations: 5.053 MB / 1.078 GB, free: 0.8438 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches