Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001709, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001269/0.001269, allocations: 200 kB / 16.26 MB, free: 6.625 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.437/1.437, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.629/2.629, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 59.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8411/0.8425, allocations: 140.4 MB / 0.9491 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001831/0.8444, allocations: 0.6811 MB / 0.9498 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.8461, allocations: 1.43 MB / 0.9512 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.8461, allocations: 1.656 kB / 0.9512 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.143e-05/0.8462, allocations: 0 / 0.9512 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.318e-05/0.8462, allocations: 1.312 kB / 0.9512 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006284/0.8469, allocations: 194.7 kB / 0.9514 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.474e-05/0.847, allocations: 40.58 kB / 0.9514 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.847, allocations: 2.75 kB / 0.9514 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.708e-05/0.847, allocations: 10.86 kB / 0.9514 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.426e-05/0.8471, allocations: 21.58 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.8471, allocations: 2.312 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003259/0.8474, allocations: 255.7 kB / 0.9517 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.8475, allocations: 11.12 kB / 0.9517 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.8475, allocations: 12.69 kB / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.8478, allocations: 214.8 kB / 0.9519 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.8478, allocations: 0 / 0.9519 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8478, allocations: 1.188 kB / 0.9519 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.8478, allocations: 0 / 0.9519 GB, free: 7.113 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003269/0.8481, allocations: 408 kB / 0.9523 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.8482, allocations: 8.375 kB / 0.9523 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.8482, allocations: 8.375 kB / 0.9523 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.05e-05/0.8483, allocations: 171.6 kB / 0.9525 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.8483, allocations: 1.219 kB / 0.9525 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.8483, allocations: 5.969 kB / 0.9525 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.8485, allocations: 80.64 kB / 0.9526 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.8485, allocations: 0 / 0.9526 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.8486, allocations: 5.188 kB / 0.9526 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.8486, allocations: 0 / 0.9526 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.146e-05/0.8486, allocations: 36.94 kB / 0.9526 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.8487, allocations: 156.7 kB / 0.9527 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.875e-05/0.8488, allocations: 67.64 kB / 0.9528 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.483e-05/0.8489, allocations: 57.7 kB / 0.9529 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-06/0.8489, allocations: 0 / 0.9529 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.849, allocations: 39.41 kB / 0.9529 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.849, allocations: 1.062 kB / 0.9529 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003089/0.8493, allocations: 185.2 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.8493, allocations: 83.72 kB / 0.9532 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.8494, allocations: 123 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.8494, allocations: 27.23 kB / 0.9533 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.369e-05/0.8494, allocations: 85.61 kB / 0.9534 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.8495, allocations: 26.39 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.8495, allocations: 17.47 kB / 0.9534 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.8496, allocations: 321.7 kB / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-05/0.8496, allocations: 35.67 kB / 0.9538 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.742e-05/0.8497, allocations: 32.94 kB / 0.9538 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.8498, allocations: 146 kB / 0.9539 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8498, allocations: 1.344 kB / 0.9539 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001656/0.85, allocations: 150.6 kB / 0.9541 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.8501, allocations: 40.97 kB / 0.9541 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.8501, allocations: 0 / 0.9541 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.8501, allocations: 1.25 kB / 0.9541 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.8501, allocations: 0 / 0.9541 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.8501, allocations: 0 / 0.9541 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.8502, allocations: 5.406 kB / 0.9541 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.8503, allocations: 17.84 kB / 0.9541 GB, free: 5.027 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.555e-05/0.8503, allocations: 152.1 kB / 0.9543 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.8504, allocations: 12.09 kB / 0.9543 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.163e-05/0.8504, allocations: 7.188 kB / 0.9543 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.8504, allocations: 0 / 0.9543 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8504, allocations: 0 / 0.9543 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.8504, allocations: 1.344 kB / 0.9543 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.594e-05/0.8505, allocations: 172.9 kB / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.8505, allocations: 1.406 kB / 0.9545 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.8505, allocations: 4 kB / 0.9545 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.8505, allocations: 7.938 kB / 0.9545 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.8505, allocations: 2.875 kB / 0.9545 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.8505, allocations: 1.688 kB / 0.9545 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8505, allocations: 0 / 0.9545 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.8507, allocations: 203.8 kB / 0.9547 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.8507, allocations: 82.23 kB / 0.9548 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.8508, allocations: 2.25 kB / 0.9548 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.24e-05/0.8508, allocations: 9.047 kB / 0.9548 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.8508, allocations: 6.469 kB / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.8508, allocations: 13 kB / 0.9548 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.142e-05/0.8509, allocations: 95.59 kB / 0.9549 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8509, allocations: 0 / 0.9549 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002932/0.8512, allocations: 71.14 kB / 0.955 GB, free: 4.285 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * 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.0002774/0.8515, allocations: 163.4 kB / 0.9551 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.8517, allocations: 196.7 kB / 0.9553 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8517, allocations: 4.062 kB / 0.9553 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.8518, allocations: 152.8 kB / 0.9554 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.852, allocations: 4.781 kB / 0.9555 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.8523, allocations: 166.9 kB / 0.9556 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.253e-05/0.8524, allocations: 0.6951 MB / 0.9563 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.24e-06/0.8524, allocations: 0 / 0.9563 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-06/0.8524, allocations: 13.03 kB / 0.9563 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8524, allocations: 3.938 kB / 0.9563 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of Templates: time 0.003816/0.8562, allocations: 2.028 MB / 0.9583 GB, free: 2.039 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches