Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008484/0.0008484, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009272/0.0009274, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.756/2.756, allocations: 437.7 MB / 0.7117 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 12 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8747/0.8751, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.000976/0.8762, allocations: 361.3 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004821/0.8767, allocations: 179.3 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.8767, allocations: 4 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.8767, allocations: 0 / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.8769, allocations: 7.938 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.8771, allocations: 63.89 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.22e-05/0.8772, allocations: 23.91 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.805e-05/0.8773, allocations: 4 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.002e-05/0.8773, allocations: 15.92 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.04e-05/0.8774, allocations: 23.91 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.8774, allocations: 0 / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.8776, allocations: 107.7 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.8776, allocations: 7.922 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.8776, allocations: 29.7 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.8778, allocations: 63.94 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8778, allocations: 0 / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.106e-06/0.8778, allocations: 0 / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.8778, allocations: 0 / 1.023 GB, free: 15.16 MB / 0.7794 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.0005689/0.8784, allocations: 373.3 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.8784, allocations: 8.031 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.8785, allocations: 7.906 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.8787, allocations: 171 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.8787, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.8788, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.879, allocations: 69.56 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.879, allocations: 4 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.879, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.879, allocations: 3.938 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.8791, allocations: 39.97 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.8796, allocations: 256.8 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.8798, allocations: 78.47 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.8799, allocations: 32.94 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.8799, allocations: 4 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.88, allocations: 30.56 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.88, allocations: 0 / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0345/0.9145, allocations: 1.761 MB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.9146, allocations: 59.34 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.9148, allocations: 121.8 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.9149, allocations: 29.7 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.915, allocations: 80.14 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.9151, allocations: 31.59 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.532e-05/0.9152, allocations: 4 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.9154, allocations: 318.8 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007888/0.9162, allocations: 159.9 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00079/0.917, allocations: 167.8 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008329/0.9178, allocations: 163.9 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.9178, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001966/0.9198, allocations: 381.5 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.9198, allocations: 4 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.9199, allocations: 0 / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.9199, allocations: 4 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/0.9219, allocations: 76.55 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.9219, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.9236, allocations: 55.94 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.947e-05/0.9237, allocations: 7.984 kB / 1.028 GB, free: 10.49 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002626/0.924, allocations: 129.7 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.9241, allocations: 7.906 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.9244, allocations: 16.38 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.9244, allocations: 3.938 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.9244, allocations: 4 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.9244, allocations: 4 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007761/0.9322, allocations: 0.9195 MB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.9323, allocations: 0 / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.9337, allocations: 67.91 kB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/0.9338, allocations: 4 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.208e-05/0.9339, allocations: 11.97 kB / 1.029 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.9339, allocations: 8.062 kB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.9339, allocations: 3.953 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.9355, allocations: 365 kB / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.9355, allocations: 89.02 kB / 1.029 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.9357, allocations: 0 / 1.029 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.937, allocations: 47.95 kB / 1.029 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.937, allocations: 11.94 kB / 1.029 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.272e-05/0.9371, allocations: 7.984 kB / 1.029 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.899e-05/0.9372, allocations: 95.27 kB / 1.029 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9372, allocations: 0 / 1.029 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007054/0.9379, allocations: 92 kB / 1.029 GB, free: 8.508 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003005/0.9382, allocations: 123.2 kB / 1.03 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001588/0.9398, allocations: 279.8 kB / 1.03 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.9399, allocations: 4 kB / 1.03 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006613/0.9405, allocations: 120 kB / 1.03 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.941, allocations: 9.719 kB / 1.03 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/0.9447, allocations: 344.4 kB / 1.03 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.9451, allocations: 0.6887 MB / 1.031 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006299/0.9457, allocations: 52 kB / 1.031 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004458/0.9462, allocations: 35.36 kB / 1.031 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of SimCode: time 1.493e-06/0.9462, allocations: 0 / 1.031 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of Templates: time 0.01208/0.9583, allocations: 8.159 MB / 1.039 GB, free: 14.6 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches