Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001537/0.001537, allocations: 104.1 kB / 16.41 MB, free: 6.449 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.001752/0.001752, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.653/2.653, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.89 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8994/0.9007, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00166/0.9024, allocations: 0.6087 MB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.9042, allocations: 1.443 MB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.9043, allocations: 0 / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.859e-05/0.9043, allocations: 0 / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.856e-05/0.9044, allocations: 7.938 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007015/0.9051, allocations: 203.5 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.762e-05/0.9052, allocations: 43.97 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.9052, allocations: 4 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.904e-05/0.9053, allocations: 15.92 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.052e-05/0.9053, allocations: 23.92 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.9053, allocations: 0 / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.9057, allocations: 247.7 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.707e-05/0.9058, allocations: 11.92 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.9058, allocations: 15.92 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.9061, allocations: 215.5 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.9061, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9061, allocations: 4 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.9061, allocations: 4 kB / 1.211 GB, free: 10.76 MB / 0.9356 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.0004182/0.9066, allocations: 404.9 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.9066, allocations: 8.031 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.9066, allocations: 4.938 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.9068, allocations: 170.1 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.9068, allocations: 384 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.9068, allocations: 4.359 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.907, allocations: 81.91 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.907, allocations: 4 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.907, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.907, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.77e-05/0.9071, allocations: 35.98 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.9072, allocations: 161.7 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.399e-05/0.9073, allocations: 66.55 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.283e-05/0.9074, allocations: 48.86 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.9074, allocations: 7.875 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.9074, allocations: 42.5 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.9074, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003108/0.9078, allocations: 195.3 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.9078, allocations: 77.11 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.117e-05/0.9079, allocations: 113.8 kB / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.9079, allocations: 29.69 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.908, allocations: 84.14 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.908, allocations: 23.66 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.9081, allocations: 25.73 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.9082, allocations: 318.8 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.827e-05/0.9083, allocations: 35.97 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.565e-05/0.9083, allocations: 35.91 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.9085, allocations: 140.2 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.9085, allocations: 0 / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001811/0.9087, allocations: 151.3 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.9087, allocations: 33.64 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.9087, allocations: 4.062 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.9087, allocations: 7.938 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.214e-06/0.9088, allocations: 3.984 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.9088, allocations: 0 / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.424e-05/0.9088, allocations: 7.906 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.9089, allocations: 4 kB / 1.213 GB, free: 8.219 MB / 0.9356 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.0001056/0.909, allocations: 151.5 kB / 1.214 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.909, allocations: 15.86 kB / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.28e-05/0.909, allocations: 4.375 kB / 1.214 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.909, allocations: 4 kB / 1.214 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.909, allocations: 4 kB / 1.214 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.909, allocations: 0 / 1.214 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.9092, allocations: 177.5 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.9092, allocations: 0 / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-06/0.9092, allocations: 7.969 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.9092, allocations: 3.938 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.9092, allocations: 4 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.9092, allocations: 0 / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9092, allocations: 0 / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.9094, allocations: 198.7 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.9095, allocations: 88.95 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.9095, allocations: 0 / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.9095, allocations: 11.98 kB / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.9096, allocations: 0 / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.9096, allocations: 8 kB / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.652e-05/0.9096, allocations: 91.89 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9096, allocations: 7.938 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002797/0.9099, allocations: 67.98 kB / 1.214 GB, free: 7.277 MB / 0.9356 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.0002961/0.9102, allocations: 163.2 kB / 1.214 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.9105, allocations: 199.3 kB / 1.215 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.9105, allocations: 4 kB / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.9106, allocations: 147.4 kB / 1.215 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.9108, allocations: 4 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.9111, allocations: 190.8 kB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.9114, allocations: 0.6886 MB / 1.216 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.176e-05/0.9114, allocations: 11.44 kB / 1.216 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.9114, allocations: 0 / 1.216 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of Templates: time 0.00327/0.9147, allocations: 1.716 MB / 1.217 GB, free: 4.082 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches