Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.345/1.345, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 187.6 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009988/0.0009986, allocations: 99.72 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003326, allocations: 9.594 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2169, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.3794, allocations: 131.4 MB / 1.028 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.3797, allocations: 71.95 kB / 1.028 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003627/0.3833, allocations: 1.265 MB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3833, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.3834, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 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.0003873/0.3837, allocations: 367.1 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3838, allocations: 8.031 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.3838, allocations: 7.906 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.384, allocations: 175 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.384, allocations: 0 / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.384, allocations: 7.938 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.3842, allocations: 57.67 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3842, allocations: 0 / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.3842, allocations: 4 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3842, allocations: 0 / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.3844, allocations: 43.95 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.3847, allocations: 252.9 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.3849, allocations: 86.47 kB / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3849, allocations: 0 / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.3849, allocations: 34.5 kB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.3849, allocations: 0 / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.02852/0.4135, allocations: 1.761 MB / 1.032 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.4136, allocations: 55.36 kB / 1.032 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.47e-05/0.4137, allocations: 105 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/0.4137, allocations: 25.7 kB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.4138, allocations: 92.12 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.191e-05/0.4139, allocations: 27.56 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.4139, allocations: 0 / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.308e-05/0.414, allocations: 318.8 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/0.4145, allocations: 163.9 kB / 1.033 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.415, allocations: 159.9 kB / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.4154, allocations: 159.9 kB / 1.033 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4155, allocations: 7.938 kB / 1.033 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001149/0.4166, allocations: 385.6 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4166, allocations: 4.656 kB / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4167, allocations: 0 / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.4167, allocations: 3.984 kB / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.4182, allocations: 79.89 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4182, allocations: 11.95 kB / 1.034 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.4196, allocations: 47.95 kB / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/0.4197, allocations: 11.97 kB / 1.034 GB, free: 6.359 MB / 0.6823 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.0001752/0.4199, allocations: 113.8 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.4199, allocations: 7.906 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.4201, allocations: 20.38 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4201, allocations: 0 / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.4201, allocations: 4 kB / 1.034 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4201, allocations: 7.938 kB / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005586/0.4257, allocations: 0.9079 MB / 1.035 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4257, allocations: 4 kB / 1.035 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.4269, allocations: 67.91 kB / 1.035 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.4269, allocations: 8.016 kB / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.4269, allocations: 11.97 kB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4269, allocations: 0 / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4269, allocations: 0 / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008883/0.4278, allocations: 400.4 kB / 1.036 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.4279, allocations: 81.02 kB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-05/0.428, allocations: 8.062 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.429, allocations: 43.95 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.429, allocations: 7.984 kB / 1.036 GB, free: 4.555 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.4291, allocations: 11.98 kB / 1.036 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.759e-05/0.4291, allocations: 95.27 kB / 1.036 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4291, allocations: 0 / 1.036 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000405/0.4296, allocations: 103.9 kB / 1.036 GB, free: 4.348 MB / 0.6823 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.0002416/0.4298, allocations: 132.4 kB / 1.036 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008988/0.4307, allocations: 283.8 kB / 1.036 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4307, allocations: 0 / 1.036 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.4311, allocations: 119.8 kB / 1.036 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.4313, allocations: 11.95 kB / 1.036 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.4339, allocations: 345.2 kB / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.4341, allocations: 0.6887 MB / 1.037 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004865/0.4346, allocations: 56.47 kB / 1.037 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004387/0.435, allocations: 31.38 kB / 1.037 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/0.4351, allocations: 0 / 1.037 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of Templates: time 0.0106/0.4457, allocations: 8.163 MB / 1.045 GB, free: 10.42 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches