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.001016/0.001016, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007861/0.007861, allocations: 170 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.748/2.748, allocations: 462.7 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004051, allocations: 9.219 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3669, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.001651/0.3686, allocations: 1.187 MB / 1.06 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.3701, allocations: 0.8103 MB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.3701, allocations: 0 / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.3704, allocations: 139.8 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000459/0.3708, allocations: 147.7 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.371, allocations: 55.88 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.3711, allocations: 63.83 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.183e-05/0.3712, allocations: 19.97 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.3713, allocations: 31.84 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.3714, allocations: 79.84 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.3714, allocations: 4 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.3718, allocations: 215.7 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.3719, allocations: 99.73 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.865e-05/0.372, allocations: 105 kB / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.3723, allocations: 315 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3724, allocations: 8 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3724, allocations: 0 / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.3724, allocations: 0 / 1.062 GB, free: 2.215 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.0006823/0.3731, allocations: 0.5335 MB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3731, allocations: 12.03 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.3732, allocations: 28.56 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.3736, allocations: 374.3 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3736, allocations: 8.375 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.3736, allocations: 4.375 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.3738, allocations: 89.97 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3738, allocations: 3.984 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3739, allocations: 7.938 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3739, allocations: 0 / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/0.3741, allocations: 119.9 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.3747, allocations: 460.7 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.3749, allocations: 106.5 kB / 1.064 GB, free: 352 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.375, allocations: 64.88 kB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-05/0.3751, allocations: 23.98 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.3751, allocations: 30.56 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3751, allocations: 3.938 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0005151/0.3757, allocations: 229.2 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.3757, allocations: 51.41 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005574/0.3763, allocations: 0.5406 MB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3763, allocations: 25.7 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3764, allocations: 156.1 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.3765, allocations: 11.83 kB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.3765, allocations: 25.72 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3766, allocations: 346.8 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.3768, allocations: 95.94 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.377, allocations: 99.94 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.3773, allocations: 190.7 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3773, allocations: 7.938 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000416/0.3777, allocations: 277.1 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3778, allocations: 8 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3778, allocations: 0 / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3778, allocations: 0 / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.3779, allocations: 35.97 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.378, allocations: 0 / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.77e-05/0.3781, allocations: 8 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3781, allocations: 8 kB / 1.066 GB, free: 14.07 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.0001462/0.3782, allocations: 173.7 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.3783, allocations: 27.62 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.3786, allocations: 175.8 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3786, allocations: 0 / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3786, allocations: 0 / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3786, allocations: 0 / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.3789, allocations: 277.5 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3789, allocations: 7.922 kB / 1.066 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.094e-05/0.379, allocations: 15.97 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.379, allocations: 0 / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.379, allocations: 4 kB / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.379, allocations: 0 / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.379, allocations: 0 / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.3793, allocations: 271 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.349e-05/0.3794, allocations: 112.7 kB / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3795, allocations: 0 / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.787e-05/0.3796, allocations: 11.98 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.3796, allocations: 4 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.3796, allocations: 8.031 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003841/0.38, allocations: 399 kB / 1.067 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.38, allocations: 0 / 1.067 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003878/0.3804, allocations: 87.92 kB / 1.067 GB, free: 12.42 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.000308/0.3807, allocations: 147.1 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003571/0.3811, allocations: 179.8 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3811, allocations: 0 / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.3812, allocations: 59.97 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.3816, allocations: 27.83 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007926/0.3824, allocations: 0.5821 MB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.3827, allocations: 0.7866 MB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.795e-05/0.3828, allocations: 34.53 kB / 1.069 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.3829, allocations: 15.44 kB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3829, allocations: 4 kB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of Templates: time 0.006182/0.389, allocations: 2.589 MB / 1.071 GB, free: 7.949 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches