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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0008413/0.0008412, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005892/0.005892, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.773/2.773, allocations: 462.6 MB / 0.7364 GB, free: 248 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.000384, allocations: 11.31 kB / 0.9028 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3623, allocations: 159.6 MB / 1.059 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0009078/0.3632, allocations: 374.7 kB / 1.059 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005055/0.3638, allocations: 203.1 kB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.3638, allocations: 0 / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.3638, allocations: 3.938 kB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.364, allocations: 4 kB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.3642, allocations: 59.83 kB / 1.059 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.236e-05/0.3643, allocations: 27.97 kB / 1.059 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.3643, allocations: 8 kB / 1.059 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.3644, allocations: 23.86 kB / 1.059 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.607e-05/0.3645, allocations: 19.91 kB / 1.059 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3645, allocations: 4 kB / 1.059 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.3647, allocations: 107.7 kB / 1.059 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.3647, allocations: 15.86 kB / 1.059 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.3647, allocations: 33.64 kB / 1.06 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.3649, allocations: 107.8 kB / 1.06 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3649, allocations: 3.938 kB / 1.06 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3649, allocations: 0 / 1.06 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.3649, allocations: 4 kB / 1.06 GB, free: 4.449 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.0005022/0.3654, allocations: 364.8 kB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3655, allocations: 12.03 kB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.3655, allocations: 0.9375 kB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.3657, allocations: 180.3 kB / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3657, allocations: 4.375 kB / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.3657, allocations: 4.375 kB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3659, allocations: 58.23 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3659, allocations: 192 / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.3659, allocations: 11.88 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.366, allocations: 0 / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.3661, allocations: 43.91 kB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.3664, allocations: 249 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.3667, allocations: 86.47 kB / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.086e-05/0.3668, allocations: 24.94 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3668, allocations: 0 / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.3668, allocations: 38.56 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.3668, allocations: 0 / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.02918/0.396, allocations: 1.765 MB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.3962, allocations: 51.41 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.3964, allocations: 117.8 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.05e-05/0.3965, allocations: 25.7 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.3966, allocations: 88.05 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.126e-05/0.3967, allocations: 27.64 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3968, allocations: 21.72 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.397, allocations: 314.8 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/0.3975, allocations: 159.9 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/0.3981, allocations: 168.2 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.3992, allocations: 332.7 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3992, allocations: 0 / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001273/0.4005, allocations: 385.5 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.4005, allocations: 4 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4005, allocations: 4 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4005, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.4022, allocations: 79.83 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.4022, allocations: 0 / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.4037, allocations: 63.94 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.4037, allocations: 3.984 kB / 1.064 GB, free: 15.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002076/0.4039, allocations: 123.3 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.638e-05/0.404, allocations: 4 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.4042, allocations: 16.38 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.4042, allocations: 4 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.4042, allocations: 0 / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.4042, allocations: 0 / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006349/0.4106, allocations: 0.931 MB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.4106, allocations: 4 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.4119, allocations: 63.91 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4119, allocations: 4 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/0.4119, allocations: 7.969 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.4119, allocations: 12 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4119, allocations: 0 / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.413, allocations: 365 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.4131, allocations: 85.38 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.636e-05/0.4131, allocations: 0 / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.4143, allocations: 59.89 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.4143, allocations: 7.922 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.4144, allocations: 7.984 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.818e-05/0.4145, allocations: 95.27 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4145, allocations: 0 / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004463/0.4149, allocations: 92 kB / 1.066 GB, free: 13.62 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 (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.0003137/0.4152, allocations: 123.2 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.4163, allocations: 287.9 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4164, allocations: 0 / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004348/0.4168, allocations: 120 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.4171, allocations: 5.25 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.4201, allocations: 356.2 kB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.4205, allocations: 0.6926 MB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004827/0.421, allocations: 52 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004528/0.4215, allocations: 27.38 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4215, allocations: 0 / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.01619/0.4377, allocations: 8.422 MB / 1.076 GB, free: 3.445 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