Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008611/0.008619, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.001749/0.001749, allocations: 187.8 kB / 16.67 MB, free: 5.949 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.725/2.725, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.91 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3389, allocations: 157.4 MB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001955/0.341, allocations: 0.6147 MB / 1.208 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.343, allocations: 1.377 MB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.3431, allocations: 7.875 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.78e-05/0.3432, allocations: 0 / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.054e-05/0.3432, allocations: 4 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007419/0.344, allocations: 184.9 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.3441, allocations: 51.95 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.3442, allocations: 0 / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.53e-05/0.3442, allocations: 15.98 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.416e-05/0.3443, allocations: 31.84 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.3443, allocations: 0 / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004024/0.3447, allocations: 199.7 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.3448, allocations: 15.92 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.3449, allocations: 23.86 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.3452, allocations: 191.5 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3452, allocations: 0 / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3452, allocations: 0 / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3452, allocations: 0 / 1.21 GB, free: 6.898 MB / 0.9669 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.0004217/0.3456, allocations: 446.6 kB / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.3457, allocations: 8.625 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.3457, allocations: 8.844 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.3458, allocations: 176.2 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3459, allocations: 384 / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.3459, allocations: 8.312 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.3461, allocations: 102 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.3461, allocations: 0 / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3461, allocations: 0 / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3461, allocations: 4 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.43e-05/0.3462, allocations: 63.89 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.3464, allocations: 173.6 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.3465, allocations: 82.53 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.853e-05/0.3466, allocations: 68.89 kB / 1.212 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.3466, allocations: 0 / 1.212 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.3466, allocations: 42.5 kB / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3466, allocations: 0 / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004176/0.3471, allocations: 255.2 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.3471, allocations: 77.11 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3473, allocations: 151.2 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.3473, allocations: 25.7 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.3474, allocations: 92.17 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.3474, allocations: 11.81 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.3475, allocations: 29.7 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3476, allocations: 318.8 kB / 1.212 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3478, allocations: 99.94 kB / 1.213 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.3479, allocations: 103.9 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.3482, allocations: 281.9 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3482, allocations: 0 / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003605/0.3486, allocations: 332.7 kB / 1.213 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.114e-05/0.3486, allocations: 67.39 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3486, allocations: 0 / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3487, allocations: 0 / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.023e-06/0.3487, allocations: 7.938 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.3487, allocations: 0 / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.3488, allocations: 11.94 kB / 1.213 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.3488, allocations: 12 kB / 1.213 GB, free: 3.613 MB / 0.9669 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.0001232/0.349, allocations: 151.5 kB / 1.213 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.349, allocations: 15.88 kB / 1.213 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.181e-05/0.349, allocations: 4.25 kB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.349, allocations: 0 / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.349, allocations: 3.938 kB / 1.214 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.349, allocations: 4.141 kB / 1.214 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.3492, allocations: 169.6 kB / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3492, allocations: 3.984 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-06/0.3492, allocations: 7.938 kB / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3492, allocations: 0 / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.3492, allocations: 0 / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3492, allocations: 0 / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3492, allocations: 7.984 kB / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.3495, allocations: 234.6 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.3495, allocations: 88.95 kB / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.3495, allocations: 0 / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.814e-05/0.3496, allocations: 7.984 kB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.3497, allocations: 4 kB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.3497, allocations: 0 / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.606e-05/0.3497, allocations: 116.5 kB / 1.214 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3497, allocations: 0 / 1.214 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002798/0.35, allocations: 63.98 kB / 1.214 GB, free: 2.637 MB / 0.9669 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.0002527/0.3503, allocations: 147.2 kB / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003982/0.3507, allocations: 378.6 kB / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3507, allocations: 0 / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.3509, allocations: 135.3 kB / 1.215 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.351, allocations: 5.688 kB / 1.215 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.3514, allocations: 227.9 kB / 1.215 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.3516, allocations: 0.6885 MB / 1.216 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.863e-06/0.3517, allocations: 4 kB / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.248e-05/0.3517, allocations: 7.438 kB / 1.216 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.3517, allocations: 0 / 1.216 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of Templates: time 0.004673/0.3564, allocations: 2.085 MB / 1.218 GB, free: 14.88 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches