Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 101.3 kB / 16.37 MB, free: 6.469 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.001624/0.001624, allocations: 191.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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.18 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.196/2.196, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.92 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2701, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002387/0.2726, allocations: 0.6092 MB / 0.9517 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002281/0.2749, allocations: 1.39 MB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.2749, allocations: 0 / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.452e-05/0.275, allocations: 0 / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.35e-05/0.2751, allocations: 11.92 kB / 0.9531 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000799/0.2759, allocations: 175.5 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.276, allocations: 51.89 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.2761, allocations: 4 kB / 0.9533 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.153e-05/0.2761, allocations: 15.98 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.969e-05/0.2762, allocations: 35.89 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.2762, allocations: 0 / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.2766, allocations: 199.7 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.2767, allocations: 19.86 kB / 0.9536 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/0.2767, allocations: 23.84 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.2771, allocations: 187.6 kB / 0.9538 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2771, allocations: 0 / 0.9538 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2771, allocations: 0 / 0.9538 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.2771, allocations: 0 / 0.9538 GB, free: 5.305 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005048/0.2776, allocations: 446.6 kB / 0.9542 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2777, allocations: 8.031 kB / 0.9542 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.2777, allocations: 8.844 kB / 0.9542 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.2779, allocations: 170.2 kB / 0.9544 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.2779, allocations: 384 / 0.9544 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.2779, allocations: 4.375 kB / 0.9544 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.2781, allocations: 101.9 kB / 0.9545 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2781, allocations: 0 / 0.9545 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.2782, allocations: 0 / 0.9545 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2782, allocations: 4 kB / 0.9545 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.322e-05/0.2783, allocations: 59.95 kB / 0.9545 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.2785, allocations: 177.6 kB / 0.9547 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.2786, allocations: 86.47 kB / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.669e-05/0.2787, allocations: 64.89 kB / 0.9549 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-06/0.2787, allocations: 0 / 0.9549 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.2787, allocations: 38.5 kB / 0.9549 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.2787, allocations: 7.938 kB / 0.9549 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004305/0.2792, allocations: 251.2 kB / 0.9551 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.2792, allocations: 89.05 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.2794, allocations: 145.8 kB / 0.9554 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.2794, allocations: 25.7 kB / 0.9554 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.2795, allocations: 92.05 kB / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.2795, allocations: 11.89 kB / 0.9555 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.2796, allocations: 25.72 kB / 0.9555 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2797, allocations: 322.9 kB / 0.9558 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.2798, allocations: 99.94 kB / 0.9559 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.28, allocations: 103.9 kB / 0.956 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.2803, allocations: 277.8 kB / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.2803, allocations: 4 kB / 0.9563 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003715/0.2807, allocations: 328.7 kB / 0.9566 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/0.2807, allocations: 69.89 kB / 0.9567 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2808, allocations: 0 / 0.9567 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2808, allocations: 144 / 0.9567 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.2808, allocations: 4.062 kB / 0.9567 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2808, allocations: 4 kB / 0.9567 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.281, allocations: 11.84 kB / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.281, allocations: 7.984 kB / 0.9567 GB, free: 2.031 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.000124/0.2811, allocations: 155.5 kB / 0.9568 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.2812, allocations: 11.84 kB / 0.9569 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.755e-05/0.2812, allocations: 4.25 kB / 0.9569 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2812, allocations: 0 / 0.9569 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2812, allocations: 0 / 0.9569 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2812, allocations: 4 kB / 0.9569 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.2814, allocations: 177.6 kB / 0.957 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.2814, allocations: 0 / 0.957 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-06/0.2814, allocations: 7.875 kB / 0.957 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2814, allocations: 4 kB / 0.957 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.2814, allocations: 0 / 0.957 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2814, allocations: 3.938 kB / 0.957 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2814, allocations: 0 / 0.957 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.2817, allocations: 230.6 kB / 0.9573 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.2817, allocations: 85.05 kB / 0.9573 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.2818, allocations: 4 kB / 0.9574 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.845e-05/0.2818, allocations: 7.984 kB / 0.9574 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.2819, allocations: 4 kB / 0.9574 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.2819, allocations: 0 / 0.9574 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.06e-05/0.282, allocations: 115.2 kB / 0.9575 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.282, allocations: 0 / 0.9575 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003526/0.2824, allocations: 63.98 kB / 0.9575 GB, free: 1.059 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002945/0.2827, allocations: 151.3 kB / 0.9577 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004307/0.2831, allocations: 378.5 kB / 0.958 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2831, allocations: 0 / 0.958 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.2833, allocations: 139.3 kB / 0.9582 GB, free: 368 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.2834, allocations: 4 kB / 0.9582 GB, free: 364 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.2838, allocations: 209.5 kB / 0.9584 GB, free: 128 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.2841, allocations: 0.6886 MB / 0.959 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.414e-06/0.2842, allocations: 4 kB / 0.9591 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.276e-05/0.2842, allocations: 11.44 kB / 0.9591 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.2842, allocations: 0 / 0.9591 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of Templates: time 0.005567/0.2898, allocations: 2.048 MB / 0.9611 GB, free: 13.36 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches