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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.01084/0.01084, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.002268/0.002268, allocations: 196 kB / 16.68 MB, free: 5.934 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.384/2.384, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 65.36 kB / 0.9509 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.337, allocations: 140.4 MB / 1.088 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001724/0.3387, allocations: 0.6349 MB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004324/0.3392, allocations: 199.5 kB / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.557e-05/0.3392, allocations: 0 / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.3392, allocations: 0 / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.3394, allocations: 11.92 kB / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.3396, allocations: 75.75 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.006e-05/0.3397, allocations: 31.91 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.506e-05/0.3398, allocations: 8 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.257e-05/0.3398, allocations: 15.92 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.389e-05/0.3399, allocations: 19.92 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.3399, allocations: 0 / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.3401, allocations: 107.7 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.3401, allocations: 15.91 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.3401, allocations: 11.94 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.3403, allocations: 99.75 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.3403, allocations: 0 / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3403, allocations: 4 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.3403, allocations: 0 / 1.089 GB, free: 176 kB / 0.8419 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.0005615/0.3409, allocations: 371.4 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.341, allocations: 8.031 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.341, allocations: 4.844 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.3412, allocations: 176.4 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.3412, allocations: 4.359 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.3412, allocations: 384 / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.3414, allocations: 58.17 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3414, allocations: 4.188 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3414, allocations: 3.938 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.3414, allocations: 7.938 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.3416, allocations: 35.95 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.3419, allocations: 260.8 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.3421, allocations: 74.47 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.903e-05/0.3421, allocations: 24.88 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.3422, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.3422, allocations: 34.56 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.3422, allocations: 0 / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.02711/0.3693, allocations: 1.605 MB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.3694, allocations: 55.41 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3695, allocations: 117.8 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.88e-05/0.3696, allocations: 25.7 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.3697, allocations: 88.14 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.9e-05/0.3698, allocations: 31.55 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.37, allocations: 29.7 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3701, allocations: 318.8 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/0.3706, allocations: 143.9 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/0.371, allocations: 143.9 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009674/0.372, allocations: 296.8 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.372, allocations: 0.5625 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001158/0.3732, allocations: 337.5 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3732, allocations: 8 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3732, allocations: 0 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.3733, allocations: 4 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.3748, allocations: 55.94 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3749, allocations: 0 / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.3762, allocations: 47.94 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.3763, allocations: 4 kB / 1.093 GB, free: 11.62 MB / 0.8575 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.0001921/0.3765, allocations: 117.8 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.793e-05/0.3766, allocations: 7.906 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.3767, allocations: 24.36 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3767, allocations: 0 / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3767, allocations: 3.938 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3767, allocations: 0 / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005667/0.3824, allocations: 0.853 MB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3824, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.3836, allocations: 51.94 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.3836, allocations: 4.422 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.434e-05/0.3836, allocations: 0 / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.3837, allocations: 3.938 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3837, allocations: 8.062 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008988/0.3846, allocations: 321.2 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.3846, allocations: 89 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.3847, allocations: 7.984 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.3857, allocations: 39.89 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.3858, allocations: 7.984 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.3858, allocations: 8 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.986e-05/0.3859, allocations: 91.27 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3859, allocations: 0 / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004123/0.3863, allocations: 92 kB / 1.095 GB, free: 9.793 MB / 0.8575 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.0002436/0.3866, allocations: 134.1 kB / 1.095 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009696/0.3875, allocations: 236.4 kB / 1.095 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3875, allocations: 3.938 kB / 1.095 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.388, allocations: 96.25 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.3883, allocations: 14 kB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.391, allocations: 314.5 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.3913, allocations: 0.6807 MB / 1.096 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004154/0.3917, allocations: 51.98 kB / 1.097 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/0.3921, allocations: 15.44 kB / 1.097 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/0.3921, allocations: 0 / 1.097 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of Templates: time 0.01173/0.4038, allocations: 8.747 MB / 1.105 GB, free: 15.41 MB / 0.8731 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/jenkins/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