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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001284/0.001284, allocations: 108.3 kB / 16.27 MB, free: 6.355 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.001285/0.001285, allocations: 188.6 kB / 17.2 MB, free: 5.953 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.522/1.522, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.944/2.944, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002009, allocations: 69.22 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7858/0.7878, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001939/0.7898, allocations: 0.611 MB / 1.084 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.7915, allocations: 1.377 MB / 1.085 GB, free: 280 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.7915, allocations: 0.9375 kB / 1.085 GB, free: 280 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.492e-05/0.7916, allocations: 11.88 kB / 1.085 GB, free: 268 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.827e-05/0.7917, allocations: 3.016 kB / 1.085 GB, free: 268 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.7923, allocations: 176.4 kB / 1.085 GB, free: 204 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.7924, allocations: 52.42 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.7925, allocations: 2.078 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.812e-05/0.7925, allocations: 21.39 kB / 1.085 GB, free: 180 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.057e-05/0.7926, allocations: 28.84 kB / 1.085 GB, free: 168 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.7926, allocations: 2.688 kB / 1.085 GB, free: 168 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003495/0.793, allocations: 199.9 kB / 1.085 GB, free: 112 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.793, allocations: 12.39 kB / 1.085 GB, free: 108 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.7931, allocations: 29.33 kB / 1.085 GB, free: 88 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.7934, allocations: 185.1 kB / 1.086 GB, free: 40 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.7934, allocations: 0 / 1.086 GB, free: 40 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7934, allocations: 0 / 1.086 GB, free: 40 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.7935, allocations: 0.8438 kB / 1.086 GB, free: 40 kB / 0.8262 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.0005365/0.794, allocations: 438.4 kB / 1.086 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.794, allocations: 13.22 kB / 1.086 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.7941, allocations: 8.562 kB / 1.086 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.7943, allocations: 174.7 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.7943, allocations: 5.469 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.7943, allocations: 3.219 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.7945, allocations: 106.3 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.7945, allocations: 0 / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.7945, allocations: 1.984 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.7946, allocations: 0 / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.7947, allocations: 59.7 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.7949, allocations: 180.3 kB / 1.087 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.795, allocations: 80.78 kB / 1.087 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.754e-05/0.7951, allocations: 70.34 kB / 1.087 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.7951, allocations: 1.219 kB / 1.087 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.7952, allocations: 35.67 kB / 1.087 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.7952, allocations: 1.625 kB / 1.087 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.000427/0.7956, allocations: 254.8 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.7957, allocations: 84.05 kB / 1.087 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.7958, allocations: 146.7 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.7959, allocations: 27.05 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.7959, allocations: 88.92 kB / 1.087 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.796, allocations: 19.28 kB / 1.087 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.796, allocations: 28.61 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.7962, allocations: 316.2 kB / 1.088 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.7963, allocations: 104.7 kB / 1.088 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.7965, allocations: 102.7 kB / 1.088 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.7968, allocations: 277.3 kB / 1.088 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7968, allocations: 1.125 kB / 1.088 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000415/0.7972, allocations: 318.9 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.934e-05/0.7973, allocations: 77.08 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.7973, allocations: 0.6094 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.7973, allocations: 0 / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.432e-06/0.7974, allocations: 0.9688 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.7974, allocations: 0.7188 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.7975, allocations: 15.73 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.7975, allocations: 3.188 kB / 1.088 GB, free: 13.9 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.7977, allocations: 151.2 kB / 1.089 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.7977, allocations: 13 kB / 1.089 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.7977, allocations: 11 kB / 1.089 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.7977, allocations: 0 / 1.089 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.7978, allocations: 0 / 1.089 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.7978, allocations: 4.688 kB / 1.089 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.7979, allocations: 172.8 kB / 1.089 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7979, allocations: 0 / 1.089 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-06/0.7979, allocations: 7.938 kB / 1.089 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.798, allocations: 5.672 kB / 1.089 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.798, allocations: 2.156 kB / 1.089 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.798, allocations: 0.6562 kB / 1.089 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.798, allocations: 1.672 kB / 1.089 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.7983, allocations: 235.4 kB / 1.089 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-05/0.7984, allocations: 95.7 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.7984, allocations: 3.375 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.948e-05/0.7985, allocations: 3.531 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.7985, allocations: 7.094 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.7986, allocations: 2.797 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.093e-05/0.7986, allocations: 110.4 kB / 1.089 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7987, allocations: 0 / 1.089 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003534/0.799, allocations: 65.56 kB / 1.089 GB, free: 13.2 MB / 0.8419 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 (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.0003209/0.7993, allocations: 158.5 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004646/0.7998, allocations: 372.9 kB / 1.09 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.7998, allocations: 0.5 kB / 1.09 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.8, allocations: 133.8 kB / 1.09 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.8002, allocations: 11 kB / 1.09 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.8006, allocations: 247.3 kB / 1.09 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.801, allocations: 0.6906 MB / 1.091 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.455e-05/0.801, allocations: 8.562 kB / 1.091 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.801, allocations: 1.062 kB / 1.091 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.004027/0.805, allocations: 1.669 MB / 1.093 GB, free: 11.82 MB / 0.8419 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=400 -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/jenkins1/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