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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001233/0.001233, allocations: 92.16 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 183.9 kB / 16.92 MB, free: 6.926 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.337/1.337, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.0004347, allocations: 15.72 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3564, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.00196/0.3584, allocations: 1.195 MB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.36, allocations: 0.7948 MB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.122e-05/0.36, allocations: 0 / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.3603, allocations: 139.7 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005803/0.3609, allocations: 159.7 kB / 1.062 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.3611, allocations: 55.86 kB / 1.062 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.3613, allocations: 63.83 kB / 1.062 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3614, allocations: 11.98 kB / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.819e-05/0.3614, allocations: 31.89 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.3616, allocations: 87.78 kB / 1.062 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.3616, allocations: 4 kB / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004203/0.362, allocations: 207.7 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.3622, allocations: 107.7 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.933e-05/0.3623, allocations: 105 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.3627, allocations: 219.7 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3627, allocations: 0 / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3627, allocations: 0 / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3627, allocations: 0 / 1.062 GB, free: 1.777 MB / 0.8106 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.0007894/0.3635, allocations: 0.5413 MB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3635, allocations: 11.97 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.093e-05/0.3636, allocations: 28.56 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.364, allocations: 382.2 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3641, allocations: 4.375 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.3641, allocations: 384 / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.3643, allocations: 101.9 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.3643, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3643, allocations: 3.938 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3644, allocations: 0 / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.3646, allocations: 107.9 kB / 1.064 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.3652, allocations: 464.7 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.3654, allocations: 114.4 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.3655, allocations: 64.89 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.3656, allocations: 23.98 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.3656, allocations: 30.56 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3657, allocations: 0 / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0005096/0.3662, allocations: 225.2 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.3662, allocations: 51.41 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005863/0.3668, allocations: 0.5366 MB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.3668, allocations: 29.64 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.367, allocations: 160.1 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.367, allocations: 15.95 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.367, allocations: 29.7 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3672, allocations: 338.8 kB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.3673, allocations: 99.92 kB / 1.066 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.3675, allocations: 99.94 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.3678, allocations: 190.7 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.3678, allocations: 0 / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004361/0.3683, allocations: 287.9 kB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3683, allocations: 4 kB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3683, allocations: 0 / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3683, allocations: 4 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.3685, allocations: 31.92 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3685, allocations: 0 / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.796e-05/0.3686, allocations: 15.98 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3686, allocations: 4 kB / 1.066 GB, free: 13.61 MB / 0.8262 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.00015/0.3688, allocations: 165.7 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.3688, allocations: 31.62 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.3692, allocations: 183.7 kB / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3692, allocations: 0 / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.3692, allocations: 0 / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3692, allocations: 0 / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.3695, allocations: 281.5 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3695, allocations: 0 / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.3696, allocations: 11.98 kB / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.3696, allocations: 0 / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.3696, allocations: 0 / 1.067 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3696, allocations: 7.969 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3697, allocations: 4 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.37, allocations: 270.9 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.3701, allocations: 120.8 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.3702, allocations: 0 / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.3703, allocations: 7.984 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.3703, allocations: 8 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.3703, allocations: 0 / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004144/0.3707, allocations: 399 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3708, allocations: 0 / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003981/0.3712, allocations: 80 kB / 1.068 GB, free: 11.98 MB / 0.8262 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.0003671/0.3715, allocations: 159.2 kB / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.3719, allocations: 175.8 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3719, allocations: 0 / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3721, allocations: 59.97 kB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.3724, allocations: 25.5 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008527/0.3733, allocations: 0.5605 MB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.3736, allocations: 0.7709 MB / 1.069 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.3737, allocations: 23.42 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3737, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of Templates: time 0.006746/0.3805, allocations: 3.282 MB / 1.073 GB, free: 6.871 MB / 0.8262 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