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.004362/0.004362, allocations: 109.1 kB / 15.74 MB, free: 6.016 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.001028/0.001028, allocations: 190.3 kB / 16.67 MB, free: 5.941 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.2/1.2, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.041/2.041, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 67.89 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7378/0.7389, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001372/0.7403, allocations: 0.6117 MB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.7419, allocations: 1.442 MB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.497e-05/0.7419, allocations: 1 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.838e-05/0.742, allocations: 0 / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.407e-05/0.742, allocations: 5.609 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006438/0.7427, allocations: 214.4 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.156e-05/0.7428, allocations: 43.84 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.7428, allocations: 2.141 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.986e-05/0.7428, allocations: 14.7 kB / 1.09 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.983e-05/0.7429, allocations: 22.39 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.7429, allocations: 1.75 kB / 1.09 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.7433, allocations: 251.2 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.323e-05/0.7433, allocations: 4.719 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.7434, allocations: 22.66 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.7437, allocations: 215.6 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.7437, allocations: 0 / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.02e-07/0.7437, allocations: 3.938 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.7437, allocations: 0.9375 kB / 1.091 GB, free: 3.855 MB / 0.8575 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.0003069/0.744, allocations: 401.5 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.7441, allocations: 9.688 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.7441, allocations: 8.266 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.059e-05/0.7442, allocations: 170.5 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.7442, allocations: 5.094 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.7442, allocations: 7.156 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.7444, allocations: 75.5 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.7444, allocations: 0.7812 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.7444, allocations: 0.6875 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.7444, allocations: 1 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.129e-05/0.7445, allocations: 35.73 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.59e-05/0.7446, allocations: 159.7 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.841e-05/0.7447, allocations: 67.8 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.596e-05/0.7448, allocations: 52.91 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.7448, allocations: 0 / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.7448, allocations: 39.47 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 7.71e-07/0.7448, allocations: 0.8438 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002989/0.7451, allocations: 180.6 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.7451, allocations: 81.58 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.7452, allocations: 116.2 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.7452, allocations: 30.64 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.144e-05/0.7452, allocations: 86.72 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.7453, allocations: 28.89 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.7453, allocations: 23.16 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.842e-05/0.7454, allocations: 318.4 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.672e-05/0.7454, allocations: 35.91 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.129e-05/0.7455, allocations: 32.67 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.7456, allocations: 144.9 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7456, allocations: 4.031 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001732/0.7458, allocations: 152.3 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.7458, allocations: 40.48 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.7458, allocations: 1.031 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.7459, allocations: 0 / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.7459, allocations: 1.031 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.7459, allocations: 0.7969 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.473e-05/0.746, allocations: 10.8 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.746, allocations: 5.719 kB / 1.093 GB, free: 1.93 MB / 0.8575 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.735e-05/0.7461, allocations: 157.6 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.7461, allocations: 15.98 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.208e-05/0.7461, allocations: 8.094 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.7461, allocations: 4 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.7461, allocations: 0.9688 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.7461, allocations: 0.7031 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.729e-05/0.7462, allocations: 172.2 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.7462, allocations: 0 / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-06/0.7462, allocations: 0.8125 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7462, allocations: 4.5 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.7462, allocations: 4.156 kB / 1.093 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.7462, allocations: 4 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7462, allocations: 0.875 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.7464, allocations: 195.5 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.7465, allocations: 87.38 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.7465, allocations: 2.781 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.573e-05/0.7465, allocations: 6.844 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.7466, allocations: 8.094 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.7466, allocations: 9.922 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.381e-05/0.7466, allocations: 94.55 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7466, allocations: 0 / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003213/0.7469, allocations: 72.92 kB / 1.094 GB, free: 1.23 MB / 0.8575 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.0002737/0.7472, allocations: 158.7 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.7475, allocations: 201.9 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.7475, allocations: 0 / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.7476, allocations: 151.1 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.7477, allocations: 10.52 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.748, allocations: 156.7 kB / 1.094 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.953e-05/0.7481, allocations: 0.6849 MB / 1.095 GB, free: 124 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.33e-06/0.7481, allocations: 4.719 kB / 1.095 GB, free: 120 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.985e-06/0.7481, allocations: 8.234 kB / 1.095 GB, free: 112 kB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.7481, allocations: 0.7812 kB / 1.095 GB, free: 112 kB / 0.8575 GB Notification: Performance of Templates: time 0.004771/0.7529, allocations: 2.079 MB / 1.097 GB, free: 15.92 MB / 0.8731 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