Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001116/0.001116, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 181 kB / 16.92 MB, free: 6.918 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.432/1.432, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.505/2.505, allocations: 390.9 MB / 0.667 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003767, allocations: 15.98 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.7228, allocations: 142.4 MB / 0.9557 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.000753/0.7236, allocations: 365.5 kB / 0.9561 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004181/0.724, allocations: 201.9 kB / 0.9563 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.088e-05/0.7241, allocations: 0 / 0.9563 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.7241, allocations: 0 / 0.9563 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.7243, allocations: 5.375 kB / 0.9563 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.7244, allocations: 66.59 kB / 0.9563 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.59e-05/0.7245, allocations: 33.05 kB / 0.9564 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.7246, allocations: 2.5 kB / 0.9564 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.168e-05/0.7246, allocations: 9.141 kB / 0.9564 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.371e-05/0.7247, allocations: 27.25 kB / 0.9564 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.7247, allocations: 5.375 kB / 0.9564 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.7248, allocations: 110.3 kB / 0.9565 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.7249, allocations: 9.422 kB / 0.9565 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.7249, allocations: 40.39 kB / 0.9566 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.725, allocations: 69.73 kB / 0.9566 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.725, allocations: 0 / 0.9566 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.725, allocations: 0 / 0.9566 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.7251, allocations: 1.062 kB / 0.9566 GB, free: 7.289 MB / 0.7169 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.0004652/0.7255, allocations: 362.2 kB / 0.957 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.7256, allocations: 9.312 kB / 0.957 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.7256, allocations: 7.938 kB / 0.957 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.7257, allocations: 183.9 kB / 0.9572 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.7257, allocations: 5.281 kB / 0.9572 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.7258, allocations: 2.75 kB / 0.9572 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.7259, allocations: 59.11 kB / 0.9572 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.7259, allocations: 1.031 kB / 0.9572 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.7259, allocations: 5.188 kB / 0.9572 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.726, allocations: 0 / 0.9572 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.7261, allocations: 43.55 kB / 0.9573 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.7263, allocations: 247.4 kB / 0.9575 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.7266, allocations: 81.88 kB / 0.9576 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.728e-05/0.7267, allocations: 32.16 kB / 0.9576 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.7267, allocations: 5.078 kB / 0.9576 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.7267, allocations: 35.73 kB / 0.9577 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.7267, allocations: 0 / 0.9577 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.02978/0.7565, allocations: 1.757 MB / 0.9594 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.7566, allocations: 52.78 kB / 0.9594 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/0.7567, allocations: 120.9 kB / 0.9595 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/0.7567, allocations: 25.7 kB / 0.9596 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.7568, allocations: 93.44 kB / 0.9597 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.181e-05/0.7569, allocations: 23.66 kB / 0.9597 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.945e-05/0.757, allocations: 11.06 kB / 0.9597 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.757, allocations: 325.5 kB / 0.96 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005403/0.7576, allocations: 161.9 kB / 0.9601 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/0.7581, allocations: 159.9 kB / 0.9603 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.7592, allocations: 337.4 kB / 0.9606 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.7592, allocations: 3.938 kB / 0.9606 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001248/0.7605, allocations: 387.4 kB / 0.961 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.7605, allocations: 6 kB / 0.961 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7605, allocations: 4 kB / 0.961 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.7606, allocations: 1.125 kB / 0.961 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.7623, allocations: 76.67 kB / 0.9611 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.7623, allocations: 5.031 kB / 0.9611 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.7638, allocations: 48.48 kB / 0.9611 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/0.7639, allocations: 15.97 kB / 0.9611 GB, free: 4.305 MB / 0.7169 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.0001686/0.764, allocations: 116.1 kB / 0.9613 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.477e-05/0.7641, allocations: 6.281 kB / 0.9613 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.7643, allocations: 19.84 kB / 0.9613 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.7643, allocations: 1.094 kB / 0.9613 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.7643, allocations: 0 / 0.9613 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.7643, allocations: 0 / 0.9613 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006158/0.7704, allocations: 0.9258 MB / 0.9622 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.7705, allocations: 1.094 kB / 0.9622 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.7717, allocations: 75.33 kB / 0.9623 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.7718, allocations: 1.312 kB / 0.9623 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/0.7718, allocations: 6.672 kB / 0.9623 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.7718, allocations: 5.062 kB / 0.9623 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7718, allocations: 1.188 kB / 0.9623 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009631/0.7728, allocations: 366.5 kB / 0.9626 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.7728, allocations: 83.2 kB / 0.9627 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.568e-05/0.7729, allocations: 2.469 kB / 0.9627 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.7741, allocations: 55.72 kB / 0.9628 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.7741, allocations: 11.19 kB / 0.9628 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.7742, allocations: 7.734 kB / 0.9628 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.44e-05/0.7743, allocations: 95.98 kB / 0.9629 GB, free: 3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7743, allocations: 1.281 kB / 0.9629 GB, free: 3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004653/0.7747, allocations: 102.1 kB / 0.963 GB, free: 2.984 MB / 0.7169 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.0002307/0.775, allocations: 113 kB / 0.9631 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.776, allocations: 288.8 kB / 0.9633 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.776, allocations: 3.938 kB / 0.9634 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.7765, allocations: 121.7 kB / 0.9635 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.7768, allocations: 8.375 kB / 0.9635 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.7798, allocations: 377.5 kB / 0.9638 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.7799, allocations: 0.6875 MB / 0.9645 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004849/0.7804, allocations: 32.16 kB / 0.9645 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of SimCode: time 8.01e-07/0.7805, allocations: 0 / 0.9645 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of Templates: time 0.01052/0.791, allocations: 5.146 MB / 0.9696 GB, free: 14.92 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches