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.005312/0.005312, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001255/0.001255, allocations: 194.4 kB / 16.79 MB, free: 5.809 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.429/1.429, allocations: 222.9 MB / 240.5 MB, free: 4.574 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.448/2.448, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002525/0.002525, allocations: 67.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7478/0.7504, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001877/0.7523, allocations: 0.7024 MB / 0.9503 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004354/0.7527, allocations: 198.4 kB / 0.9505 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.7528, allocations: 0 / 0.9505 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.7528, allocations: 3.938 kB / 0.9505 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.753, allocations: 6.438 kB / 0.9505 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.7532, allocations: 66.03 kB / 0.9505 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.886e-05/0.7533, allocations: 25.3 kB / 0.9506 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.7534, allocations: 2.719 kB / 0.9506 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.399e-05/0.7534, allocations: 21.03 kB / 0.9506 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.117e-05/0.7535, allocations: 17.98 kB / 0.9506 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.7535, allocations: 7.188 kB / 0.9506 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.7537, allocations: 109.3 kB / 0.9507 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.7537, allocations: 5.438 kB / 0.9507 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.7537, allocations: 18.59 kB / 0.9507 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.7539, allocations: 65.19 kB / 0.9508 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.7539, allocations: 1.375 kB / 0.9508 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7539, allocations: 0 / 0.9508 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.7539, allocations: 0 / 0.9508 GB, free: 8.312 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.000506/0.7544, allocations: 372.7 kB / 0.9512 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.7545, allocations: 9.625 kB / 0.9512 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.7545, allocations: 3.688 kB / 0.9512 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.7547, allocations: 180.3 kB / 0.9513 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.7547, allocations: 5.75 kB / 0.9513 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.7547, allocations: 1.75 kB / 0.9513 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.7549, allocations: 51.98 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.7549, allocations: 1.562 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.7549, allocations: 3.938 kB / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.7549, allocations: 4 kB / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.755, allocations: 40.56 kB / 0.9514 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.7553, allocations: 246.6 kB / 0.9517 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.7555, allocations: 71.41 kB / 0.9517 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.661e-05/0.7556, allocations: 29.31 kB / 0.9518 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.7556, allocations: 0 / 0.9518 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.7557, allocations: 39.86 kB / 0.9518 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.7557, allocations: 0 / 0.9518 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.02823/0.7839, allocations: 1.61 MB / 0.9534 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.784, allocations: 52.59 kB / 0.9534 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.7841, allocations: 119.2 kB / 0.9535 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.668e-05/0.7842, allocations: 34.81 kB / 0.9536 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.7842, allocations: 90.11 kB / 0.9537 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.72e-05/0.7843, allocations: 23.23 kB / 0.9537 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.7845, allocations: 24.45 kB / 0.9537 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.962e-05/0.7846, allocations: 328.2 kB / 0.954 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005108/0.7851, allocations: 139 kB / 0.9542 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/0.7856, allocations: 142.9 kB / 0.9543 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009604/0.7866, allocations: 295.6 kB / 0.9546 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7866, allocations: 0.5625 kB / 0.9546 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001174/0.7878, allocations: 341 kB / 0.9549 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.7878, allocations: 5.406 kB / 0.9549 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.7878, allocations: 0 / 0.9549 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.7878, allocations: 4 kB / 0.9549 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.7894, allocations: 59.88 kB / 0.955 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.7894, allocations: 7.922 kB / 0.955 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.7908, allocations: 43.73 kB / 0.955 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.7909, allocations: 2.734 kB / 0.955 GB, free: 5.414 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.0001765/0.791, allocations: 123 kB / 0.9551 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.97e-05/0.7911, allocations: 6.625 kB / 0.9551 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.7913, allocations: 23.33 kB / 0.9552 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.7913, allocations: 6.062 kB / 0.9552 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.7913, allocations: 4 kB / 0.9552 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.7913, allocations: 0 / 0.9552 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005543/0.7969, allocations: 0.8326 MB / 0.956 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.7969, allocations: 1.125 kB / 0.956 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.798, allocations: 60.91 kB / 0.956 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.798, allocations: 2 kB / 0.9561 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/0.7981, allocations: 5.922 kB / 0.9561 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.7981, allocations: 7.875 kB / 0.9561 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.7981, allocations: 1.75 kB / 0.9561 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009332/0.7991, allocations: 324.3 kB / 0.9564 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.7991, allocations: 79.3 kB / 0.9565 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-05/0.7992, allocations: 5.094 kB / 0.9565 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.8002, allocations: 42.45 kB / 0.9565 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.8002, allocations: 11.23 kB / 0.9565 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/0.8003, allocations: 3.281 kB / 0.9565 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.914e-05/0.8003, allocations: 97.3 kB / 0.9566 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8003, allocations: 0 / 0.9566 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004544/0.8008, allocations: 89.91 kB / 0.9567 GB, free: 4.168 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.000244/0.8011, allocations: 123.2 kB / 0.9568 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009962/0.8021, allocations: 239.5 kB / 0.957 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8021, allocations: 0 / 0.957 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000419/0.8025, allocations: 102.2 kB / 0.9571 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.8028, allocations: 11.91 kB / 0.9571 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.8055, allocations: 334 kB / 0.9575 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.8057, allocations: 0.6881 MB / 0.9581 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000507/0.8062, allocations: 22.47 kB / 0.9582 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.8062, allocations: 0 / 0.9582 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of Templates: time 0.008395/0.8146, allocations: 5.05 MB / 0.9631 GB, free: 212 kB / 0.7169 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