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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.008693/0.008693, allocations: 95.86 kB / 15.73 MB, free: 6.484 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.001908/0.001908, allocations: 192 kB / 16.67 MB, free: 6.391 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 63.89 kB / 1.019 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3395, allocations: 151.6 MB / 1.167 GB, free: 6.734 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001936/0.3414, allocations: 0.6078 MB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.3435, allocations: 1.389 MB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.3435, allocations: 0 / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.328e-05/0.3436, allocations: 3.938 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.14e-05/0.3437, allocations: 4 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000739/0.3444, allocations: 179.5 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.3445, allocations: 51.94 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.3446, allocations: 0 / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.3446, allocations: 19.92 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.849e-05/0.3447, allocations: 31.91 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3448, allocations: 0 / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004239/0.3452, allocations: 203.7 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.3452, allocations: 11.98 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.3453, allocations: 27.8 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.3456, allocations: 187.4 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3457, allocations: 7.938 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3457, allocations: 0 / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.3457, allocations: 0 / 1.169 GB, free: 4.004 MB / 0.92 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.0005371/0.3462, allocations: 450.3 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3463, allocations: 8.031 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.3463, allocations: 8.891 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.3465, allocations: 168.4 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3465, allocations: 384 / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.3465, allocations: 4.375 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.3467, allocations: 102 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3467, allocations: 0 / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.3467, allocations: 4 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3468, allocations: 0 / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.3e-05/0.3469, allocations: 67.89 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.3471, allocations: 177.6 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.3472, allocations: 82.53 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.387e-05/0.3473, allocations: 64.89 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.3473, allocations: 4 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.3473, allocations: 38.5 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3473, allocations: 0 / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.000405/0.3477, allocations: 259.1 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.3478, allocations: 81.11 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.3479, allocations: 143.4 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.348, allocations: 25.7 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.348, allocations: 96.03 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.3481, allocations: 15.92 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.3481, allocations: 29.7 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3483, allocations: 318.8 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3484, allocations: 99.94 kB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.3485, allocations: 99.94 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.3488, allocations: 281.7 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3488, allocations: 0 / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003403/0.3492, allocations: 328.7 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.447e-05/0.3492, allocations: 71.44 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.3492, allocations: 4 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3493, allocations: 0 / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.776e-06/0.3493, allocations: 4 kB / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3493, allocations: 0 / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.3494, allocations: 11.89 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.3495, allocations: 8 kB / 1.172 GB, free: 0.7227 MB / 0.92 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.0001154/0.3496, allocations: 151.5 kB / 1.172 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.3496, allocations: 12.03 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.932e-05/0.3496, allocations: 12.23 kB / 1.172 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.3496, allocations: 0 / 1.172 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3496, allocations: 0 / 1.172 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3497, allocations: 4 kB / 1.172 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.3498, allocations: 169.6 kB / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3498, allocations: 0 / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-06/0.3498, allocations: 7.938 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3498, allocations: 0 / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3498, allocations: 0 / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3498, allocations: 0 / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3498, allocations: 0 / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.3501, allocations: 238.6 kB / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.3502, allocations: 89 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3502, allocations: 0 / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.3503, allocations: 11.98 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.3503, allocations: 4 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.3504, allocations: 0 / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.017e-05/0.3504, allocations: 113.4 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3504, allocations: 3.969 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002976/0.3507, allocations: 71.86 kB / 1.173 GB, free: 15.74 MB / 0.9356 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.0002805/0.351, allocations: 147.2 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004102/0.3514, allocations: 370.6 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.3515, allocations: 4 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.3516, allocations: 135.3 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.3518, allocations: 11.92 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.3522, allocations: 221.4 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.3524, allocations: 0.6924 MB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.034e-06/0.3524, allocations: 0 / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.159e-05/0.3525, allocations: 7.438 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.3525, allocations: 0 / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.005656/0.3581, allocations: 2.034 MB / 1.177 GB, free: 12.04 MB / 0.9356 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 -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/jenkins/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