Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 120.3 kB / 16.81 MB, free: 5.758 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.001326/0.001326, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.465/1.465, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.819/2.819, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 69.98 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4399, allocations: 168.7 MB / 1.262 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002928/0.4428, allocations: 1.497 MB / 1.264 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.4442, allocations: 0.7411 MB / 1.264 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.4443, allocations: 0 / 1.264 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.4445, allocations: 131.7 kB / 1.264 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.4446, allocations: 67.83 kB / 1.264 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006677/0.4453, allocations: 187.5 kB / 1.265 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.4454, allocations: 55.89 kB / 1.265 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.232e-05/0.4455, allocations: 11.98 kB / 1.265 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.621e-05/0.4455, allocations: 39.83 kB / 1.265 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.4457, allocations: 91.81 kB / 1.265 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.4457, allocations: 0 / 1.265 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004075/0.4461, allocations: 243.6 kB / 1.265 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.495e-05/0.4462, allocations: 59.83 kB / 1.265 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.658e-05/0.4463, allocations: 59.48 kB / 1.265 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.4466, allocations: 271 kB / 1.265 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4467, allocations: 0 / 1.265 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4467, allocations: 0 / 1.265 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.4467, allocations: 0 / 1.265 GB, free: 9.473 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007554/0.4474, allocations: 0.5096 MB / 1.266 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.4475, allocations: 8.031 kB / 1.266 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.4475, allocations: 36.69 kB / 1.266 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.4478, allocations: 259.9 kB / 1.266 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.4478, allocations: 384 / 1.266 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.4478, allocations: 8.312 kB / 1.266 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.448, allocations: 77.97 kB / 1.266 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.4481, allocations: 0 / 1.266 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-06/0.4481, allocations: 0 / 1.266 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.4481, allocations: 3.984 kB / 1.266 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.4483, allocations: 91.92 kB / 1.266 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.4489, allocations: 392.8 kB / 1.267 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.4491, allocations: 90.47 kB / 1.267 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.4492, allocations: 48.88 kB / 1.267 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.259e-05/0.4492, allocations: 19.98 kB / 1.267 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.4493, allocations: 38.56 kB / 1.267 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.4493, allocations: 0 / 1.267 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004674/0.4497, allocations: 177.5 kB / 1.267 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.4498, allocations: 51.41 kB / 1.267 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.4502, allocations: 363.2 kB / 1.268 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.4502, allocations: 29.7 kB / 1.268 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4503, allocations: 136.1 kB / 1.268 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.4503, allocations: 11.94 kB / 1.268 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.4504, allocations: 21.72 kB / 1.268 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4505, allocations: 338.8 kB / 1.268 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.4507, allocations: 95.94 kB / 1.268 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.4508, allocations: 95.95 kB / 1.268 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.4512, allocations: 208.7 kB / 1.268 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.4512, allocations: 3.938 kB / 1.268 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003861/0.4516, allocations: 249.4 kB / 1.269 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4516, allocations: 9.859 kB / 1.269 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4516, allocations: 0 / 1.269 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4516, allocations: 3.938 kB / 1.269 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.4517, allocations: 15.94 kB / 1.269 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4517, allocations: 0 / 1.269 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.4518, allocations: 15.88 kB / 1.269 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.4518, allocations: 4 kB / 1.269 GB, free: 5.895 MB / 0.9825 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 (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * 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.000133/0.4519, allocations: 149.7 kB / 1.269 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.4519, allocations: 23.8 kB / 1.269 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.4522, allocations: 138.6 kB / 1.269 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4522, allocations: 0 / 1.269 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4523, allocations: 3.984 kB / 1.269 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.453e-05/0.4523, allocations: 101 kB / 1.269 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.4524, allocations: 0 / 1.269 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.4524, allocations: 7.984 kB / 1.269 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.4525, allocations: 11.94 kB / 1.269 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003166/0.4528, allocations: 200.9 kB / 1.269 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00034/0.4532, allocations: 302.6 kB / 1.27 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001098/0.4533, allocations: 47.95 kB / 1.27 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000253/0.4535, allocations: 257.9 kB / 1.27 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of Backend: time 3.3e-07/0.4535, allocations: 0 / 1.27 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000748/0.4543, allocations: 234.2 kB / 1.27 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of SimCode: time 0.000934/0.4552, allocations: 0.8046 MB / 1.271 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of Templates: time 0.006076/0.4613, allocations: 2.297 MB / 1.273 GB, free: 1.238 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches