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.00133/0.00133, allocations: 109.3 kB / 15.7 MB, free: 132 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.00116/0.00116, allocations: 196.2 kB / 16.63 MB, free: 6.609 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.409/1.409, allocations: 222.9 MB / 240.3 MB, free: 4.34 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.362/2.362, allocations: 390.3 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 73.11 kB / 0.9509 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3644, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001869/0.3664, allocations: 0.6458 MB / 1.089 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004798/0.3669, allocations: 203.5 kB / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.128e-05/0.3669, allocations: 0 / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.3669, allocations: 3.938 kB / 1.089 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.3671, allocations: 7.938 kB / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.3674, allocations: 75.77 kB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.916e-05/0.3675, allocations: 31.95 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.498e-05/0.3676, allocations: 4 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.101e-05/0.3676, allocations: 11.92 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.799e-05/0.3677, allocations: 27.84 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.3677, allocations: 0 / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.3679, allocations: 107.8 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.3679, allocations: 11.88 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.368, allocations: 15.92 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.3681, allocations: 95.81 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.3682, allocations: 4 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3682, allocations: 4 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3682, allocations: 0 / 1.089 GB, free: 248 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.0006394/0.3688, allocations: 367.4 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3689, allocations: 11.97 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.3689, allocations: 4.844 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.3691, allocations: 176.4 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3691, allocations: 4.375 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.3692, allocations: 384 / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.3693, allocations: 58.23 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.3694, allocations: 192 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.3694, allocations: 3.938 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3694, allocations: 3.938 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.3695, allocations: 31.97 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.3699, allocations: 260.8 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.3701, allocations: 70.47 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.239e-05/0.3702, allocations: 24.94 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3702, allocations: 3.938 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3703, allocations: 30.56 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3703, allocations: 4 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0269/0.3972, allocations: 1.613 MB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.3973, allocations: 55.34 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.3974, allocations: 117.8 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.286e-05/0.3975, allocations: 25.7 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.3976, allocations: 92.14 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.884e-05/0.3976, allocations: 31.55 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.3978, allocations: 25.7 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.398, allocations: 318.8 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/0.3984, allocations: 143.9 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/0.3989, allocations: 143.9 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009974/0.3999, allocations: 288.8 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3999, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001172/0.4011, allocations: 338.1 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4011, allocations: 5.562 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4012, allocations: 96 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.4012, allocations: 11.92 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.4027, allocations: 59.88 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4028, allocations: 80 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.4041, allocations: 47.94 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.4042, allocations: 15.98 kB / 1.093 GB, free: 11.68 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.0001941/0.4044, allocations: 117.8 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.316e-05/0.4045, allocations: 3.906 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.4046, allocations: 20.38 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4046, allocations: 0 / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.4046, allocations: 3.984 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4046, allocations: 0 / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005565/0.4102, allocations: 0.8491 MB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.4102, allocations: 3.938 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.4113, allocations: 51.94 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.4113, allocations: 4 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/0.4114, allocations: 8.062 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.4114, allocations: 7.938 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4114, allocations: 0 / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009227/0.4123, allocations: 317.1 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.4124, allocations: 89 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.313e-05/0.4124, allocations: 4 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.4135, allocations: 39.89 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.4135, allocations: 4 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.4135, allocations: 7.984 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.618e-05/0.4136, allocations: 95.27 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4136, allocations: 4 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004068/0.414, allocations: 92 kB / 1.095 GB, free: 9.863 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.0002514/0.4143, allocations: 119.8 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009932/0.4153, allocations: 243.8 kB / 1.095 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4153, allocations: 4 kB / 1.095 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.4157, allocations: 92.36 kB / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.4161, allocations: 11.98 kB / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.4188, allocations: 298.7 kB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.4191, allocations: 0.6807 MB / 1.097 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004327/0.4196, allocations: 55.92 kB / 1.097 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/0.42, allocations: 19.44 kB / 1.097 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of SimCode: time 9.22e-07/0.42, allocations: 0 / 1.097 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of Templates: time 0.01351/0.4335, allocations: 8.746 MB / 1.105 GB, free: 15.5 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