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.001394/0.001394, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001319/0.001319, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.22/2.22, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 66.48 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2586, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0018/0.2604, allocations: 0.6386 MB / 0.9518 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000459/0.2609, allocations: 199.1 kB / 0.9519 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.996e-05/0.2609, allocations: 0 / 0.9519 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.261, allocations: 3.938 kB / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.2611, allocations: 19.92 kB / 0.952 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.2613, allocations: 75.75 kB / 0.952 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.913e-05/0.2614, allocations: 19.98 kB / 0.9521 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.183e-05/0.2614, allocations: 7.984 kB / 0.9521 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.123e-05/0.2615, allocations: 15.92 kB / 0.9521 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.923e-05/0.2615, allocations: 27.84 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.2616, allocations: 0 / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.2617, allocations: 103.8 kB / 0.9522 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.2618, allocations: 11.86 kB / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.2618, allocations: 19.92 kB / 0.9522 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.262, allocations: 103.8 kB / 0.9523 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.262, allocations: 0 / 0.9523 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.262, allocations: 0 / 0.9523 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.262, allocations: 0 / 0.9523 GB, free: 6.781 MB / 0.7325 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.000482/0.2625, allocations: 368.3 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.2625, allocations: 8.031 kB / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.2626, allocations: 8.922 kB / 0.9527 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2627, allocations: 176.2 kB / 0.9529 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.2627, allocations: 384 / 0.9529 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.2628, allocations: 4.312 kB / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.2629, allocations: 58.23 kB / 0.9529 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2629, allocations: 4.172 kB / 0.9529 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2629, allocations: 3.938 kB / 0.9529 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2629, allocations: 3.938 kB / 0.9529 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.2631, allocations: 31.97 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.2634, allocations: 249 kB / 0.9532 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.2636, allocations: 70.41 kB / 0.9533 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.847e-05/0.2636, allocations: 28.92 kB / 0.9533 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.2637, allocations: 0 / 0.9533 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.2637, allocations: 34.56 kB / 0.9533 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2637, allocations: 0 / 0.9533 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.02741/0.2911, allocations: 1.617 MB / 0.9549 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.2912, allocations: 55.41 kB / 0.955 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.2913, allocations: 121.8 kB / 0.9551 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.2914, allocations: 33.7 kB / 0.9551 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.2914, allocations: 88.05 kB / 0.9552 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.843e-05/0.2915, allocations: 19.66 kB / 0.9552 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.2917, allocations: 29.7 kB / 0.9553 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2918, allocations: 318.8 kB / 0.9556 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.2923, allocations: 143.9 kB / 0.9557 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/0.2928, allocations: 143.9 kB / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008995/0.2937, allocations: 289.3 kB / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2937, allocations: 3.938 kB / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001108/0.2948, allocations: 341.4 kB / 0.9564 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2948, allocations: 4 kB / 0.9564 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.2948, allocations: 0 / 0.9564 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2948, allocations: 4 kB / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.2963, allocations: 63.86 kB / 0.9565 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.2963, allocations: 0 / 0.9565 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.2976, allocations: 51.95 kB / 0.9566 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-05/0.2977, allocations: 4 kB / 0.9566 GB, free: 2.23 MB / 0.7325 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.0001892/0.2979, allocations: 123.7 kB / 0.9567 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.2979, allocations: 3.906 kB / 0.9567 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.2981, allocations: 20.38 kB / 0.9567 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2981, allocations: 0 / 0.9567 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2981, allocations: 0 / 0.9567 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2981, allocations: 0 / 0.9567 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005329/0.3034, allocations: 0.8416 MB / 0.9575 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3034, allocations: 0 / 0.9575 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.3045, allocations: 59.94 kB / 0.9576 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3045, allocations: 4 kB / 0.9576 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/0.3046, allocations: 3.984 kB / 0.9576 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.3046, allocations: 7.938 kB / 0.9576 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3046, allocations: 0 / 0.9576 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008711/0.3055, allocations: 321.1 kB / 0.9579 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.3055, allocations: 84.95 kB / 0.958 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/0.3056, allocations: 4 kB / 0.958 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009635/0.3066, allocations: 43.89 kB / 0.958 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.3066, allocations: 11.98 kB / 0.958 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.3067, allocations: 4 kB / 0.958 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.299e-05/0.3067, allocations: 95.3 kB / 0.9581 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3067, allocations: 0 / 0.9581 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003809/0.3071, allocations: 96 kB / 0.9582 GB, free: 420 kB / 0.7325 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.0002279/0.3074, allocations: 119.2 kB / 0.9583 GB, free: 288 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009136/0.3083, allocations: 251.8 kB / 0.9586 GB, free: 36 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3083, allocations: 0 / 0.9586 GB, free: 36 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003892/0.3087, allocations: 95.88 kB / 0.9587 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.309, allocations: 4 kB / 0.9587 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.3115, allocations: 298.6 kB / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.3117, allocations: 0.6858 MB / 0.9596 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003885/0.3121, allocations: 52 kB / 0.9597 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/0.3126, allocations: 19.42 kB / 0.9597 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of SimCode: time 3.4e-07/0.3126, allocations: 0 / 0.9597 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of Templates: time 0.01252/0.3251, allocations: 8.729 MB / 0.9682 GB, free: 6.059 MB / 0.7481 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 -s gbode -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