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.001098/0.001098, allocations: 112.6 kB / 16.37 MB, free: 6 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.001065/0.001065, allocations: 196 kB / 17.31 MB, free: 5.613 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.288/1.288, 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 10.1.0-maint.10.0.x/package.mo): time 2.386/2.386, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 69.55 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2552, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001764/0.257, allocations: 0.6172 MB / 1.019 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.2586, allocations: 1.386 MB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.2587, allocations: 4 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.988e-05/0.2587, allocations: 7.922 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.392e-05/0.2588, allocations: 0 / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006515/0.2594, allocations: 180.1 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.2596, allocations: 47.91 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.2596, allocations: 8 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.054e-05/0.2597, allocations: 15.92 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.2597, allocations: 27.91 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.2597, allocations: 4 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003359/0.2601, allocations: 203.7 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.728e-05/0.2601, allocations: 8 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.2602, allocations: 27.8 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.2605, allocations: 187.6 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2605, allocations: 0 / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2605, allocations: 0 / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2605, allocations: 4 kB / 1.021 GB, free: 7.148 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.0004021/0.2609, allocations: 434.7 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2609, allocations: 12.92 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.261, allocations: 4.844 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.2611, allocations: 187 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.2611, allocations: 8.359 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.2611, allocations: 8.359 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.2613, allocations: 97.95 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.2613, allocations: 0 / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2613, allocations: 0 / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2613, allocations: 0 / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.21e-05/0.2614, allocations: 59.95 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.2616, allocations: 169.7 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.2617, allocations: 90.45 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.38e-05/0.2618, allocations: 68.89 kB / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.814e-06/0.2618, allocations: 0 / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.2618, allocations: 38.5 kB / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2619, allocations: 0 / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.000354/0.2622, allocations: 251.2 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.2623, allocations: 81.11 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.2624, allocations: 145.8 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.2624, allocations: 37.58 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.2625, allocations: 96.03 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.2625, allocations: 3.906 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.2625, allocations: 25.72 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.2626, allocations: 322.8 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.2628, allocations: 103.9 kB / 1.024 GB, free: 4.715 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.2629, allocations: 103.9 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.2631, allocations: 285.7 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2631, allocations: 0 / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003677/0.2635, allocations: 324.8 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/0.2636, allocations: 67.39 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.2636, allocations: 0 / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2636, allocations: 0 / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.474e-06/0.2636, allocations: 3.938 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2636, allocations: 0 / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.2638, allocations: 23.83 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.2638, allocations: 4 kB / 1.024 GB, free: 3.867 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.0001278/0.2639, allocations: 152.4 kB / 1.025 GB, free: 3.703 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.2639, allocations: 11.84 kB / 1.025 GB, free: 3.691 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.396e-05/0.264, allocations: 8.25 kB / 1.025 GB, free: 3.68 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.264, allocations: 0 / 1.025 GB, free: 3.68 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.264, allocations: 0 / 1.025 GB, free: 3.68 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.264, allocations: 0 / 1.025 GB, free: 3.68 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.2641, allocations: 173.6 kB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2641, allocations: 0 / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-06/0.2641, allocations: 3.938 kB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.2641, allocations: 0 / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.2641, allocations: 11.98 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.2641, allocations: 0 / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2641, allocations: 0 / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.2644, allocations: 226.7 kB / 1.025 GB, free: 3.199 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.2645, allocations: 92.88 kB / 1.025 GB, free: 3.09 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2645, allocations: 4 kB / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.429e-05/0.2645, allocations: 144 / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.2646, allocations: 11.97 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.2646, allocations: 8.031 kB / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.621e-05/0.2647, allocations: 109.9 kB / 1.025 GB, free: 2.961 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2647, allocations: 0 / 1.025 GB, free: 2.961 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002846/0.265, allocations: 64 kB / 1.025 GB, free: 2.898 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.0002598/0.2653, allocations: 159.1 kB / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003857/0.2657, allocations: 370.7 kB / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2657, allocations: 0 / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.2658, allocations: 143.3 kB / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.266, allocations: 4 kB / 1.026 GB, free: 2.188 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.2663, allocations: 214.3 kB / 1.026 GB, free: 1.949 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.2665, allocations: 0.6924 MB / 1.027 GB, free: 1.23 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.929e-06/0.2665, allocations: 0 / 1.027 GB, free: 1.23 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-06/0.2665, allocations: 7.438 kB / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2665, allocations: 0 / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of Templates: time 0.004428/0.271, allocations: 2.041 MB / 1.029 GB, free: 15.19 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 gbode -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