Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.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.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|int.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|int.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 108 kB / 16.41 MB, free: 6.461 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.001343/0.001343, allocations: 187 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 14.95 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.628/2.628, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.00139, allocations: 67.89 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8356/0.837, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002817/0.8399, allocations: 1.468 MB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.8412, allocations: 0.7752 MB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.296e-05/0.8413, allocations: 0 / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.8415, allocations: 127.7 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005894/0.8421, allocations: 183.6 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.8423, allocations: 75.73 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.8424, allocations: 63.88 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.8425, allocations: 11.97 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.707e-05/0.8426, allocations: 35.91 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.8427, allocations: 87.78 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.8427, allocations: 4 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003829/0.8431, allocations: 227.7 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.8433, allocations: 103.7 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.327e-05/0.8434, allocations: 83.28 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003932/0.8438, allocations: 319 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.8438, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8438, allocations: 7.938 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.8438, allocations: 0 / 1.212 GB, free: 10.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007637/0.8446, allocations: 0.5736 MB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.8446, allocations: 12.03 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.8447, allocations: 28.56 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.8451, allocations: 374.3 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.8451, allocations: 4.375 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.8451, allocations: 4.375 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.8453, allocations: 93.89 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.8453, allocations: 0 / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.8453, allocations: 4 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.8454, allocations: 0 / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.8456, allocations: 99.92 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/0.8461, allocations: 460.7 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.8463, allocations: 106.5 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.8464, allocations: 64.81 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-05/0.8465, allocations: 23.98 kB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.8465, allocations: 30.56 kB / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8465, allocations: 0 / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004604/0.847, allocations: 209.2 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.847, allocations: 55.53 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/0.8475, allocations: 0.5327 MB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.8476, allocations: 25.7 kB / 1.214 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.8477, allocations: 156.1 kB / 1.215 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.8477, allocations: 15.83 kB / 1.215 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.8478, allocations: 41.61 kB / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.8479, allocations: 342.8 kB / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.8481, allocations: 99.94 kB / 1.215 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.8482, allocations: 91.88 kB / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.8485, allocations: 182.5 kB / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8485, allocations: 0 / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003804/0.8489, allocations: 261.2 kB / 1.216 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.8489, allocations: 8 kB / 1.216 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8489, allocations: 4 kB / 1.216 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.8489, allocations: 3.984 kB / 1.216 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.8491, allocations: 31.92 kB / 1.216 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.8491, allocations: 0 / 1.216 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.506e-05/0.8492, allocations: 11.94 kB / 1.216 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.8492, allocations: 4 kB / 1.216 GB, free: 5.91 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 (15): * Single equations (assignments): 15 * Array equations: 0 * 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.0001278/0.8493, allocations: 169.7 kB / 1.216 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.8494, allocations: 27.62 kB / 1.216 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.8497, allocations: 167.7 kB / 1.216 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.8497, allocations: 7.938 kB / 1.216 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.8497, allocations: 0 / 1.216 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.8497, allocations: 4 kB / 1.216 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.85, allocations: 285.5 kB / 1.216 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.85, allocations: 0 / 1.216 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.584e-05/0.8501, allocations: 4 kB / 1.216 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8501, allocations: 32 / 1.216 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.8501, allocations: 7.984 kB / 1.216 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.8501, allocations: 4 kB / 1.216 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.8501, allocations: 3.938 kB / 1.216 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.8504, allocations: 255 kB / 1.217 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.31e-05/0.8505, allocations: 112.7 kB / 1.217 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.8505, allocations: 8.016 kB / 1.217 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.646e-05/0.8506, allocations: 12 kB / 1.217 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.8507, allocations: 0 / 1.217 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.8507, allocations: 3.984 kB / 1.217 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000382/0.8511, allocations: 395.1 kB / 1.217 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8511, allocations: 0 / 1.217 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003755/0.8515, allocations: 79.98 kB / 1.217 GB, free: 4.297 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.000329/0.8518, allocations: 151.2 kB / 1.217 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.8522, allocations: 178.1 kB / 1.217 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.8522, allocations: 0 / 1.217 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.8523, allocations: 47.97 kB / 1.218 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.8527, allocations: 23.22 kB / 1.218 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007527/0.8534, allocations: 0.5143 MB / 1.218 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.8537, allocations: 0.771 MB / 1.219 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.8538, allocations: 19.44 kB / 1.219 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.8538, allocations: 0 / 1.219 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of Templates: time 0.005982/0.8598, allocations: 3.352 MB / 1.222 GB, free: 15.2 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches