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.00105/0.00105, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 193.4 kB / 16.53 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.422/2.422, allocations: 390.2 MB / 0.6646 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7345/0.7357, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001777/0.7376, allocations: 0.6081 MB / 0.9502 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.7391, allocations: 1.433 MB / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.7391, allocations: 0 / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.919e-05/0.7392, allocations: 3.984 kB / 0.9516 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.471e-05/0.7392, allocations: 6 kB / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.7399, allocations: 221 kB / 0.9518 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.38e-05/0.74, allocations: 35.91 kB / 0.9518 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.74, allocations: 1.375 kB / 0.9518 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.977e-05/0.7401, allocations: 16.02 kB / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.7401, allocations: 19.83 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.7401, allocations: 6.203 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003333/0.7405, allocations: 239.8 kB / 0.9521 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.858e-05/0.7405, allocations: 14.72 kB / 0.9521 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.7406, allocations: 8.875 kB / 0.9521 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.7408, allocations: 219.2 kB / 0.9523 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7408, allocations: 1.188 kB / 0.9523 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7408, allocations: 4 kB / 0.9523 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.7408, allocations: 0 / 0.9523 GB, free: 7.148 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.000334/0.7412, allocations: 407.5 kB / 0.9527 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.7412, allocations: 9.344 kB / 0.9527 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.7413, allocations: 12.33 kB / 0.9528 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.871e-05/0.7414, allocations: 163 kB / 0.9529 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.7414, allocations: 1.594 kB / 0.9529 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.7414, allocations: 6.969 kB / 0.9529 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.7415, allocations: 79.25 kB / 0.953 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.7416, allocations: 0 / 0.953 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.7416, allocations: 1.625 kB / 0.953 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.7416, allocations: 3.938 kB / 0.953 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.61e-05/0.7416, allocations: 36.66 kB / 0.953 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.7418, allocations: 160.9 kB / 0.9532 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.533e-05/0.7419, allocations: 59.81 kB / 0.9532 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.7419, allocations: 53.77 kB / 0.9533 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.7419, allocations: 4 kB / 0.9533 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.742, allocations: 35.97 kB / 0.9533 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.742, allocations: 0 / 0.9533 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002934/0.7423, allocations: 197.2 kB / 0.9535 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.7423, allocations: 83.69 kB / 0.9536 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/0.7424, allocations: 111.7 kB / 0.9537 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.7424, allocations: 27.08 kB / 0.9537 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.167e-05/0.7424, allocations: 89.61 kB / 0.9538 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.7425, allocations: 26.55 kB / 0.9538 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.7425, allocations: 20.91 kB / 0.9539 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.7426, allocations: 321.6 kB / 0.9542 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.7426, allocations: 36.8 kB / 0.9542 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-05/0.7427, allocations: 36.78 kB / 0.9542 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.7428, allocations: 141.9 kB / 0.9544 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.7428, allocations: 0 / 0.9544 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001685/0.743, allocations: 150.7 kB / 0.9545 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.743, allocations: 41.69 kB / 0.9546 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.743, allocations: 4 kB / 0.9546 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.743, allocations: 1.125 kB / 0.9546 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.743, allocations: 0 / 0.9546 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.743, allocations: 1.188 kB / 0.9546 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.7432, allocations: 8.391 kB / 0.9546 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.7432, allocations: 5.062 kB / 0.9546 GB, free: 5.07 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.326e-05/0.7433, allocations: 152.8 kB / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.7433, allocations: 13.28 kB / 0.9547 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.166e-05/0.7433, allocations: 9.812 kB / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.7433, allocations: 0 / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.7433, allocations: 0 / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.7433, allocations: 1.312 kB / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.993e-05/0.7434, allocations: 169.3 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.7434, allocations: 1.031 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.7434, allocations: 0 / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.7434, allocations: 5.031 kB / 0.9549 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.7434, allocations: 2.219 kB / 0.9549 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.7434, allocations: 1.25 kB / 0.9549 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.7434, allocations: 0 / 0.9549 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.7436, allocations: 207.6 kB / 0.9551 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.7437, allocations: 86.14 kB / 0.9552 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.7437, allocations: 6.266 kB / 0.9552 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.402e-05/0.7437, allocations: 9.875 kB / 0.9552 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.7437, allocations: 1.25 kB / 0.9552 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.7438, allocations: 9.688 kB / 0.9552 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.124e-05/0.7438, allocations: 91.95 kB / 0.9553 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7438, allocations: 7.969 kB / 0.9553 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000301/0.7441, allocations: 74.61 kB / 0.9554 GB, free: 4.324 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.0002803/0.7444, allocations: 159.3 kB / 0.9555 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.7446, allocations: 195.8 kB / 0.9557 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.7446, allocations: 0 / 0.9557 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.652e-05/0.7447, allocations: 150.8 kB / 0.9559 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.7449, allocations: 9.906 kB / 0.9559 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.7451, allocations: 159.4 kB / 0.956 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.7452, allocations: 0.6945 MB / 0.9567 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.32e-06/0.7453, allocations: 1.375 kB / 0.9567 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-06/0.7453, allocations: 7.438 kB / 0.9567 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7453, allocations: 3.938 kB / 0.9567 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of Templates: time 0.004225/0.7495, allocations: 2.04 MB / 0.9587 GB, free: 2.09 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