Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001199/0.001199, allocations: 101.5 kB / 16.35 MB, free: 5.824 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.001203/0.001203, allocations: 191.7 kB / 17.29 MB, free: 5.48 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.213/1.213, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.218/2.218, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 68.91 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2607, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001856/0.2626, allocations: 0.6249 MB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.2644, allocations: 1.39 MB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.2644, allocations: 0 / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.182e-05/0.2644, allocations: 0 / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.652e-05/0.2645, allocations: 3.938 kB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000555/0.2651, allocations: 177 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.2652, allocations: 51.95 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.2652, allocations: 7.984 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.248e-05/0.2652, allocations: 19.92 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.059e-05/0.2653, allocations: 15.98 kB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.2653, allocations: 4 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.2656, allocations: 203.7 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.2657, allocations: 15.92 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.2657, allocations: 23.88 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.266, allocations: 187.5 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.266, allocations: 4 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.433e-06/0.266, allocations: 0 / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.266, allocations: 0 / 1.021 GB, free: 7.113 MB / 0.795 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.0004004/0.2664, allocations: 438.6 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.2665, allocations: 12.92 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.2665, allocations: 8.844 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2666, allocations: 176.2 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.2666, allocations: 384 / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.2666, allocations: 8.375 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.2668, allocations: 97.95 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.2668, allocations: 0 / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.2668, allocations: 4 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2669, allocations: 0 / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.055e-05/0.2669, allocations: 67.83 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.2671, allocations: 173.7 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.731e-05/0.2672, allocations: 74.53 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.2673, allocations: 76.89 kB / 1.023 GB, free: 5.836 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.2673, allocations: 0 / 1.023 GB, free: 5.836 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.2673, allocations: 34.5 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2673, allocations: 0 / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.000368/0.2677, allocations: 255.1 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.2677, allocations: 85.09 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.2679, allocations: 144.3 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.2679, allocations: 29.73 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/0.268, allocations: 100 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.268, allocations: 7.906 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.268, allocations: 29.7 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2682, allocations: 314.8 kB / 1.023 GB, free: 4.785 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.2683, allocations: 103.9 kB / 1.024 GB, free: 4.684 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.2685, allocations: 99.94 kB / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.2687, allocations: 281.7 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2687, allocations: 8.031 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003081/0.269, allocations: 324.8 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.986e-05/0.2691, allocations: 71.39 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2691, allocations: 3.984 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2691, allocations: 3.984 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.2691, allocations: 0 / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2691, allocations: 0 / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.2692, allocations: 15.84 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.2693, allocations: 7.938 kB / 1.024 GB, free: 3.832 MB / 0.795 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.0001005/0.2694, allocations: 147.6 kB / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.2694, allocations: 11.84 kB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.79e-05/0.2694, allocations: 16.23 kB / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.2694, allocations: 0 / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2694, allocations: 0 / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.2694, allocations: 0 / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.2695, allocations: 169.6 kB / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2695, allocations: 0 / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-06/0.2696, allocations: 7.938 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.2696, allocations: 0 / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.2696, allocations: 4 kB / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2696, allocations: 4 kB / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2696, allocations: 3.938 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.2698, allocations: 230.6 kB / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.2699, allocations: 84.95 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.2699, allocations: 7.938 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.49e-05/0.27, allocations: 4 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.27, allocations: 7.984 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.27, allocations: 4.031 kB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.041e-05/0.2701, allocations: 107.2 kB / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2701, allocations: 4 kB / 1.025 GB, free: 2.922 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002542/0.2704, allocations: 68 kB / 1.025 GB, free: 2.855 MB / 0.795 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.0002392/0.2706, allocations: 147.2 kB / 1.025 GB, free: 2.699 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003573/0.271, allocations: 378.6 kB / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.271, allocations: 0 / 1.026 GB, free: 2.305 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.2711, allocations: 135.4 kB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.2712, allocations: 10.41 kB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.2715, allocations: 209.6 kB / 1.026 GB, free: 1.918 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.2718, allocations: 0.6885 MB / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.871e-06/0.2718, allocations: 0 / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-06/0.2718, allocations: 15.38 kB / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.2718, allocations: 0 / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of Templates: time 0.004088/0.2759, allocations: 2.042 MB / 1.029 GB, free: 15.16 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches