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.001613/0.001613, allocations: 115 kB / 16.42 MB, free: 6.512 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.001842/0.001842, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.451/1.451, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.71/2.71, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002393, allocations: 71.91 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115/1.117, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00281/1.12, allocations: 0.61 MB / 1.168 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00265/1.123, allocations: 1.437 MB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/1.123, allocations: 3.938 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.181e-05/1.123, allocations: 0 / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.664e-05/1.123, allocations: 3.938 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/1.124, allocations: 219.5 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/1.124, allocations: 35.97 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.549e-05/1.124, allocations: 0 / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.131e-05/1.124, allocations: 11.98 kB / 1.17 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.298e-05/1.124, allocations: 23.91 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/1.125, allocations: 4 kB / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005039/1.125, allocations: 247.7 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/1.125, allocations: 11.92 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/1.125, allocations: 19.92 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004999/1.126, allocations: 215.9 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.126, allocations: 0 / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.064e-06/1.126, allocations: 0 / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.442e-05/1.126, allocations: 0 / 1.17 GB, free: 0.9883 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.0005773/1.126, allocations: 408.7 kB / 1.171 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.126, allocations: 12.02 kB / 1.171 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/1.126, allocations: 4.891 kB / 1.171 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/1.127, allocations: 172.3 kB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/1.127, allocations: 4.375 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/1.127, allocations: 4.375 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/1.127, allocations: 77.91 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/1.127, allocations: 0 / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/1.127, allocations: 4 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.127, allocations: 0 / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.027e-05/1.127, allocations: 35.97 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/1.127, allocations: 165.7 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.554e-05/1.127, allocations: 58.44 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.543e-05/1.127, allocations: 56.86 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/1.127, allocations: 3.938 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/1.127, allocations: 46.44 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/1.128, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003755/1.128, allocations: 179.3 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/1.128, allocations: 89.09 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/1.128, allocations: 109.8 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/1.128, allocations: 33.73 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/1.128, allocations: 84.14 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.608e-05/1.128, allocations: 27.73 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/1.128, allocations: 21.72 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.128, allocations: 314.8 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/1.128, allocations: 31.98 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.415e-05/1.129, allocations: 43.91 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/1.129, allocations: 140.4 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.129, allocations: 32 / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001949/1.129, allocations: 155.3 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/1.129, allocations: 41.62 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.129, allocations: 0.625 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/1.129, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/1.129, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/1.129, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/1.129, allocations: 15.94 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/1.129, allocations: 4 kB / 1.172 GB, free: 14.43 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.0001501/1.129, allocations: 147.5 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/1.129, allocations: 15.97 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/1.129, allocations: 8.312 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.129, allocations: 0 / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.129, allocations: 0 / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/1.13, allocations: 85.06 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/1.13, allocations: 3.984 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.911e-05/1.13, allocations: 4 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/1.13, allocations: 4 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003078/1.13, allocations: 302 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003438/1.13, allocations: 356.3 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001123/1.13, allocations: 75.97 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.762e-05/1.131, allocations: 87.27 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of Backend: time 2.755e-06/1.131, allocations: 0 / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007935/1.131, allocations: 308 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00056/1.132, allocations: 0.6427 MB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of Templates: time 0.006789/1.139, allocations: 2.056 MB / 1.176 GB, free: 10.21 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