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.001579/0.001579, allocations: 112.6 kB / 16.42 MB, free: 6.445 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.001793/0.001793, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.474/1.474, allocations: 222.9 MB / 241 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.368/2.368, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.91 kB / 0.9516 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8644/0.8657, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001662/0.8674, allocations: 0.6089 MB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.8691, allocations: 1.445 MB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.8692, allocations: 0.8125 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.361e-05/0.8692, allocations: 0 / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.207e-05/0.8693, allocations: 6.25 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007933/0.8701, allocations: 206.4 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.8702, allocations: 44.36 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.8703, allocations: 1.984 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.589e-05/0.8703, allocations: 14.72 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/0.8704, allocations: 26 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.8704, allocations: 2.656 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004621/0.8709, allocations: 243.1 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.8709, allocations: 8.359 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.871, allocations: 19.06 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.8713, allocations: 215.1 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8713, allocations: 0.875 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8713, allocations: 3.938 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.8713, allocations: 4 kB / 1.091 GB, free: 3.852 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.0003458/0.8717, allocations: 397.8 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.8717, allocations: 9.094 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.8718, allocations: 8.391 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.97e-05/0.8719, allocations: 177.5 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.8719, allocations: 1.938 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.8719, allocations: 2.562 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.8721, allocations: 91.69 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.8721, allocations: 4.625 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.8721, allocations: 0.7188 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.8721, allocations: 1.422 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.917e-05/0.8722, allocations: 32.58 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.8723, allocations: 162.8 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.078e-05/0.8724, allocations: 59.02 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.852e-05/0.8725, allocations: 52.45 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-06/0.8725, allocations: 0.6875 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.398e-05/0.8725, allocations: 44.64 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.8725, allocations: 0 / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003344/0.8728, allocations: 181.4 kB / 1.093 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.8729, allocations: 81.89 kB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.047e-05/0.873, allocations: 114.1 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.873, allocations: 27.58 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.873, allocations: 83.52 kB / 1.093 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.873, allocations: 28.03 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.8731, allocations: 27.03 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.452e-05/0.8732, allocations: 314.9 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.8732, allocations: 37.09 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.591e-05/0.8733, allocations: 35.62 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.8735, allocations: 144.5 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.8735, allocations: 0 / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002221/0.8737, allocations: 152.1 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.8738, allocations: 46.61 kB / 1.094 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.8738, allocations: 4.062 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.8738, allocations: 1.672 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.8738, allocations: 0 / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.8738, allocations: 0.8438 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.8739, allocations: 11.84 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.874, allocations: 5.422 kB / 1.094 GB, free: 1.914 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 9.112e-05/0.8741, allocations: 145.7 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.8741, allocations: 12.59 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.427e-05/0.8741, allocations: 10.41 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.8741, allocations: 4.562 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8741, allocations: 1.344 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.8742, allocations: 91.03 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.8742, allocations: 2.688 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/0.8742, allocations: 6.609 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.8742, allocations: 4 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002726/0.8745, allocations: 299.4 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002788/0.8748, allocations: 347.9 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001144/0.8749, allocations: 83.22 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.875, allocations: 90.7 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of Backend: time 3.31e-07/0.875, allocations: 0.75 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000861/0.8759, allocations: 294.9 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0005377/0.8764, allocations: 0.6356 MB / 1.096 GB, free: 236 kB / 0.8575 GB Notification: Performance of Templates: time 0.006592/0.883, allocations: 2.056 MB / 1.098 GB, free: 52 kB / 0.8575 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