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.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008314/0.0008311, 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.0009513/0.0009513, 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.532/1.532, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.005/3.005, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 11.03 kB / 0.9021 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3716, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001175/0.3728, allocations: 358.8 kB / 1.058 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000627/0.3735, allocations: 183.3 kB / 1.059 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.3736, allocations: 0 / 1.059 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.3736, allocations: 0 / 1.059 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.3738, allocations: 11.94 kB / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.3741, allocations: 59.88 kB / 1.059 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.806e-05/0.3742, allocations: 31.92 kB / 1.059 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.973e-05/0.3743, allocations: 0 / 1.059 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.071e-05/0.3744, allocations: 15.92 kB / 1.059 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.3745, allocations: 19.91 kB / 1.059 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3745, allocations: 4 kB / 1.059 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.3747, allocations: 103.7 kB / 1.059 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.3747, allocations: 15.92 kB / 1.059 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.3748, allocations: 25.7 kB / 1.059 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.3749, allocations: 59.94 kB / 1.059 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.3749, allocations: 8 kB / 1.059 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/0.375, allocations: 0 / 1.059 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.375, allocations: 4 kB / 1.059 GB, free: 4.438 MB / 0.8106 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.000598/0.3756, allocations: 367.4 kB / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3756, allocations: 8.031 kB / 1.059 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.3757, allocations: 4 kB / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.3759, allocations: 171.1 kB / 1.059 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3759, allocations: 0 / 1.059 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.3759, allocations: 15.86 kB / 1.059 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.3761, allocations: 57.61 kB / 1.059 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3761, allocations: 0 / 1.059 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3761, allocations: 0 / 1.059 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3761, allocations: 7.938 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.3763, allocations: 43.97 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.3767, allocations: 248.9 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.3769, allocations: 86.47 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.031e-05/0.377, allocations: 24.94 kB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.377, allocations: 0 / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.377, allocations: 30.56 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.377, allocations: 0 / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.02285/0.3999, allocations: 1.765 MB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.4, allocations: 51.41 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.4001, allocations: 117.8 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.45e-05/0.4002, allocations: 25.7 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.4003, allocations: 92.12 kB / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.36e-05/0.4004, allocations: 27.55 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.4005, allocations: 4 kB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4006, allocations: 322.8 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005369/0.4012, allocations: 160.3 kB / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/0.4017, allocations: 167.8 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005475/0.4023, allocations: 163.9 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4023, allocations: 0 / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001367/0.4037, allocations: 377.5 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.8e-05/0.4037, allocations: 8 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4038, allocations: 0 / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/0.4038, allocations: 3.984 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.4052, allocations: 75.91 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.4052, allocations: 4 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.4063, allocations: 59.94 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.32e-05/0.4063, allocations: 11.97 kB / 1.063 GB, free: 15.77 MB / 0.8262 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.0001985/0.4065, allocations: 117.8 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.996e-05/0.4066, allocations: 7.906 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.4068, allocations: 16.8 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.4068, allocations: 0 / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.4068, allocations: 0 / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4068, allocations: 0 / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005114/0.412, allocations: 0.9156 MB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.412, allocations: 7.984 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009441/0.4129, allocations: 71.97 kB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.974e-06/0.413, allocations: 0 / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-05/0.413, allocations: 11.97 kB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.413, allocations: 3.953 kB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.413, allocations: 0 / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.414, allocations: 372.9 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.4141, allocations: 85.02 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.4142, allocations: 0 / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008314/0.415, allocations: 51.95 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.4151, allocations: 8.219 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.4151, allocations: 11.98 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.158e-05/0.4152, allocations: 99.2 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4152, allocations: 0 / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000438/0.4156, allocations: 92 kB / 1.065 GB, free: 13.8 MB / 0.8262 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.0003151/0.416, allocations: 119.2 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.417, allocations: 283.8 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4171, allocations: 4 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004167/0.4175, allocations: 115.8 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.4178, allocations: 5.875 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.4202, allocations: 356.4 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.4205, allocations: 0.6887 MB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005363/0.421, allocations: 56 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004428/0.4215, allocations: 35.36 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of SimCode: time 8.31e-07/0.4215, allocations: 0 / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of Templates: time 0.01426/0.4358, allocations: 8.166 MB / 1.075 GB, free: 3.883 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches