Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_10_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_10_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.001221/0.001221, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001206/0.001206, allocations: 187 kB / 17.34 MB, free: 5.742 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.36/2.36, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001422, allocations: 67.84 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.808/0.8095, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001732/0.8112, allocations: 0.6086 MB / 1.168 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001983/0.8132, allocations: 1.437 MB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.8133, allocations: 0 / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.265e-05/0.8134, allocations: 3.938 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.591e-05/0.8134, allocations: 4 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007363/0.8142, allocations: 209.2 kB / 1.17 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.254e-05/0.8143, allocations: 39.97 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.8143, allocations: 7.984 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.561e-05/0.8144, allocations: 15.92 kB / 1.17 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.8144, allocations: 19.98 kB / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.8144, allocations: 0 / 1.17 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000443/0.8149, allocations: 255.6 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.305e-05/0.8149, allocations: 7.938 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.815, allocations: 19.86 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.8153, allocations: 207.6 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.8154, allocations: 11.92 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8154, allocations: 0 / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.8154, allocations: 4 kB / 1.17 GB, free: 0.9688 MB / 0.8887 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.0004802/0.8159, allocations: 404.9 kB / 1.171 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.8159, allocations: 8.031 kB / 1.171 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.816, allocations: 8.938 kB / 1.171 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.8161, allocations: 174.1 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.8161, allocations: 384 / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.8162, allocations: 384 / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.8163, allocations: 77.97 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.8164, allocations: 4 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.8164, allocations: 0 / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.8164, allocations: 0 / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.289e-05/0.8164, allocations: 39.97 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.8166, allocations: 157.7 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.696e-05/0.8167, allocations: 74.36 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.402e-05/0.8168, allocations: 44.88 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.575e-06/0.8168, allocations: 0 / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.8168, allocations: 46.48 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.8169, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003465/0.8172, allocations: 191.2 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.8173, allocations: 77.11 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.8174, allocations: 117.9 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.8174, allocations: 25.7 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.8175, allocations: 88.12 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.8175, allocations: 27.64 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.8176, allocations: 21.75 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.8177, allocations: 322.8 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.876e-05/0.8178, allocations: 35.97 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.767e-05/0.8178, allocations: 27.98 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.818, allocations: 148.2 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.818, allocations: 0 / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001981/0.8182, allocations: 143.3 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.8183, allocations: 37.62 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8183, allocations: 4 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.8183, allocations: 4.062 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.8183, allocations: 3.938 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.8183, allocations: 0 / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.8184, allocations: 11.89 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.8185, allocations: 12 kB / 1.172 GB, free: 14.42 MB / 0.9044 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 0.0001124/0.8186, allocations: 143.5 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.8186, allocations: 7.938 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.623e-05/0.8186, allocations: 12.3 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.8187, allocations: 0 / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.8187, allocations: 8 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.8187, allocations: 0 / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.8188, allocations: 177.5 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.8188, allocations: 0 / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-07/0.8188, allocations: 0 / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.8188, allocations: 3.938 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.8188, allocations: 4 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.8188, allocations: 3.938 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.8189, allocations: 4 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.8191, allocations: 194.8 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.8191, allocations: 96.88 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.8192, allocations: 0 / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.8192, allocations: 8 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.8192, allocations: 0 / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.8193, allocations: 7.984 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.847e-05/0.8193, allocations: 95.88 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8193, allocations: 4 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003073/0.8196, allocations: 64 kB / 1.173 GB, free: 13.49 MB / 0.9044 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.0003374/0.82, allocations: 167.2 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.8202, allocations: 199.3 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.8203, allocations: 0 / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.8204, allocations: 151.3 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.8205, allocations: 4 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.8209, allocations: 198.5 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.8212, allocations: 0.6847 MB / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.1e-05/0.8212, allocations: 11.44 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of SimCode: time 3.7e-07/0.8212, allocations: 0 / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of Templates: time 0.003708/0.8249, allocations: 1.716 MB / 1.176 GB, free: 10.29 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches