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.001716/0.001716, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001882/0.001882, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.454/1.454, allocations: 222.9 MB / 240.6 MB, free: 4.527 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.4/2.4, allocations: 390.2 MB / 0.665 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 71.91 kB / 0.8127 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.661/0.6624, allocations: 140.3 MB / 0.9498 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001731/0.6641, allocations: 0.6788 MB / 0.9504 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.6657, allocations: 1.435 MB / 0.9518 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.6657, allocations: 0 / 0.9518 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.297e-05/0.6658, allocations: 0 / 0.9518 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.118e-05/0.6659, allocations: 5.25 kB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009344/0.6668, allocations: 191.2 kB / 0.952 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.728e-05/0.6669, allocations: 41.09 kB / 0.9521 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.667, allocations: 2.844 kB / 0.9521 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.662e-05/0.667, allocations: 10.73 kB / 0.9521 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.6671, allocations: 25.38 kB / 0.9521 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.6671, allocations: 6.531 kB / 0.9521 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/0.6674, allocations: 247.3 kB / 0.9523 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.6675, allocations: 7.656 kB / 0.9524 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.6675, allocations: 15.02 kB / 0.9524 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.6677, allocations: 146.6 kB / 0.9525 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6677, allocations: 3.938 kB / 0.9525 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.61e-07/0.6677, allocations: 0 / 0.9525 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.6677, allocations: 3.938 kB / 0.9525 GB, free: 7.109 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.0003164/0.6681, allocations: 404 kB / 0.9529 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.6681, allocations: 8.875 kB / 0.9529 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.6681, allocations: 12.41 kB / 0.9529 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.225e-05/0.6682, allocations: 171 kB / 0.9531 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.6682, allocations: 1.875 kB / 0.9531 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.6683, allocations: 3.219 kB / 0.9531 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.6684, allocations: 79.72 kB / 0.9532 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.6684, allocations: 0 / 0.9532 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.6684, allocations: 3.984 kB / 0.9532 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.6684, allocations: 2 kB / 0.9532 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.634e-05/0.6685, allocations: 31.55 kB / 0.9532 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.988e-05/0.6686, allocations: 169.1 kB / 0.9534 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.004e-05/0.6687, allocations: 59.98 kB / 0.9534 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.917e-05/0.6688, allocations: 56.98 kB / 0.9535 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.6688, allocations: 0 / 0.9535 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.6688, allocations: 35.78 kB / 0.9535 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.6688, allocations: 0 / 0.9535 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003044/0.6691, allocations: 190 kB / 0.9537 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.6692, allocations: 83.61 kB / 0.9538 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.295e-05/0.6692, allocations: 114.4 kB / 0.9539 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.6692, allocations: 27.14 kB / 0.9539 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.138e-05/0.6693, allocations: 86.47 kB / 0.954 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.6693, allocations: 23.03 kB / 0.954 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.6694, allocations: 24.52 kB / 0.954 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.345e-05/0.6694, allocations: 312.9 kB / 0.9543 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.662e-05/0.6695, allocations: 37.47 kB / 0.9544 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.93e-05/0.6695, allocations: 41.06 kB / 0.9544 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.6696, allocations: 146.5 kB / 0.9545 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6697, allocations: 3.938 kB / 0.9545 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001647/0.6698, allocations: 151.5 kB / 0.9547 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.6699, allocations: 42.33 kB / 0.9547 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.6699, allocations: 0 / 0.9547 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.6699, allocations: 1.406 kB / 0.9547 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.6699, allocations: 0 / 0.9547 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.6699, allocations: 0 / 0.9547 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.67, allocations: 9.766 kB / 0.9547 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.67, allocations: 9.281 kB / 0.9548 GB, free: 5.031 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 6.676e-05/0.6701, allocations: 144.6 kB / 0.9549 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.6701, allocations: 12.12 kB / 0.9549 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.161e-05/0.6701, allocations: 13.55 kB / 0.9549 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.6701, allocations: 1.344 kB / 0.9549 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6702, allocations: 7.922 kB / 0.9549 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.6702, allocations: 0 / 0.9549 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.146e-05/0.6702, allocations: 167.2 kB / 0.9551 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6702, allocations: 0 / 0.9551 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.6703, allocations: 4 kB / 0.9551 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.6703, allocations: 9.188 kB / 0.9551 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.6703, allocations: 6.859 kB / 0.9551 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.6703, allocations: 0 / 0.9551 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.6703, allocations: 3.938 kB / 0.9551 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.6705, allocations: 196.7 kB / 0.9553 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.6705, allocations: 82.17 kB / 0.9554 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.6705, allocations: 2.219 kB / 0.9554 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.451e-05/0.6706, allocations: 9.281 kB / 0.9554 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.6706, allocations: 6.078 kB / 0.9554 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.6706, allocations: 9.156 kB / 0.9554 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.304e-05/0.6707, allocations: 91.78 kB / 0.9555 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6707, allocations: 0 / 0.9555 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002995/0.671, allocations: 71.06 kB / 0.9556 GB, free: 4.297 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.0002905/0.6713, allocations: 165.9 kB / 0.9557 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002361/0.6715, allocations: 204.6 kB / 0.9559 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6715, allocations: 0 / 0.9559 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.6716, allocations: 157.1 kB / 0.9561 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.6718, allocations: 3.438 kB / 0.9561 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.6721, allocations: 198.6 kB / 0.9562 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.6722, allocations: 0.6945 MB / 0.9569 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.135e-06/0.6722, allocations: 11.56 kB / 0.9569 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.6722, allocations: 0 / 0.9569 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of Templates: time 0.003385/0.6756, allocations: 1.709 MB / 0.9586 GB, free: 2.184 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/jenkins1/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