Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009475/0.0009475, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001233/0.001233, allocations: 168.7 kB / 15.95 MB, free: 204 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.565/1.565, 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 11.0.0-master/package.mo): time 2.934/2.934, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005445/0.0005446, allocations: 12.28 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3918, allocations: 159.6 MB / 1.058 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0008436/0.3927, allocations: 342.8 kB / 1.058 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.3948, allocations: 1.346 MB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.3949, allocations: 4 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.781e-05/0.395, allocations: 7.922 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.436e-05/0.395, allocations: 0 / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006739/0.3957, allocations: 138.6 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.316e-05/0.3958, allocations: 43.83 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.3959, allocations: 0 / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.785e-05/0.3959, allocations: 19.98 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.474e-05/0.396, allocations: 31.89 kB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.396, allocations: 4 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.3963, allocations: 171.8 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.972e-05/0.3964, allocations: 15.92 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.3964, allocations: 29.7 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.3967, allocations: 127.7 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3967, allocations: 0 / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.305e-06/0.3967, allocations: 0 / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3967, allocations: 4 kB / 1.06 GB, free: 3.086 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004502/0.3971, allocations: 426.8 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.3972, allocations: 12.03 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.3972, allocations: 7.984 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.3974, allocations: 170.9 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3974, allocations: 3.938 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3974, allocations: 7.953 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.3976, allocations: 97.64 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.3976, allocations: 0 / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3977, allocations: 4 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3977, allocations: 0 / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.615e-05/0.3978, allocations: 59.95 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.398, allocations: 173.7 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.3981, allocations: 78.47 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.568e-05/0.3982, allocations: 72.89 kB / 1.061 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.3982, allocations: 3.953 kB / 1.061 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.3982, allocations: 34.56 kB / 1.061 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.3982, allocations: 0 / 1.061 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004457/0.3987, allocations: 255.2 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.3988, allocations: 81.11 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.3989, allocations: 143.5 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.399, allocations: 29.7 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.399, allocations: 84.14 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.3991, allocations: 23.73 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-06/0.3991, allocations: 4.031 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3992, allocations: 330.7 kB / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.3993, allocations: 103.9 kB / 1.062 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.3995, allocations: 107.9 kB / 1.062 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.3997, allocations: 159.3 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3997, allocations: 0 / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003869/0.4001, allocations: 316.9 kB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.185e-05/0.4001, allocations: 79.27 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4002, allocations: 0 / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4002, allocations: 144 / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-06/0.4002, allocations: 4.109 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4002, allocations: 0 / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.4004, allocations: 19.78 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.4004, allocations: 8 kB / 1.063 GB, free: 15.97 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001312/0.4006, allocations: 147.5 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.4006, allocations: 7.906 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.4006, allocations: 12.19 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4006, allocations: 3.938 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4006, allocations: 4 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.4006, allocations: 0 / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.4008, allocations: 173.6 kB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.4008, allocations: 4 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-07/0.4008, allocations: 0 / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4008, allocations: 0 / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.4008, allocations: 4 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.4008, allocations: 3.953 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4008, allocations: 0 / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.4011, allocations: 234.6 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.4012, allocations: 81.02 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.4012, allocations: 7.938 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.742e-05/0.4013, allocations: 4 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.4014, allocations: 11.94 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.4014, allocations: 0 / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.813e-05/0.4015, allocations: 112.8 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4015, allocations: 0 / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003328/0.4018, allocations: 64 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000325/0.4022, allocations: 159.2 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004158/0.4026, allocations: 370.6 kB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4026, allocations: 0 / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.4027, allocations: 135.4 kB / 1.064 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.4029, allocations: 2.25 kB / 1.064 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.4033, allocations: 211.5 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.4036, allocations: 0.6926 MB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.171e-06/0.4036, allocations: 0 / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.09e-05/0.4036, allocations: 7.438 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of SimCode: time 7.41e-07/0.4036, allocations: 0 / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of Templates: time 0.004775/0.4084, allocations: 1.874 MB / 1.067 GB, free: 11.48 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches