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.0011/0.0011, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001382/0.001382, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.845/2.845, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003504, allocations: 9.781 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3887, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.001741/0.3905, allocations: 1.179 MB / 1.059 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.3917, allocations: 0.7407 MB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.3917, allocations: 4 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.392, allocations: 127.8 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005081/0.3925, allocations: 155.7 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.3927, allocations: 47.89 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.3928, allocations: 59.8 kB / 1.06 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.254e-05/0.3929, allocations: 7.938 kB / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.103e-05/0.3929, allocations: 39.88 kB / 1.06 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.3931, allocations: 63.86 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.3931, allocations: 7.938 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000343/0.3934, allocations: 203.7 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.3936, allocations: 111.7 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.114e-05/0.3936, allocations: 49.58 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.3939, allocations: 223.6 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3939, allocations: 0 / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3939, allocations: 0 / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.394, allocations: 0 / 1.061 GB, free: 2.324 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.0007494/0.3947, allocations: 0.5372 MB / 1.061 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3948, allocations: 12.03 kB / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.215e-05/0.3948, allocations: 31.62 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.3952, allocations: 357.3 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3953, allocations: 0 / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.3953, allocations: 3.953 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.3955, allocations: 97.58 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3955, allocations: 0 / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.3955, allocations: 4 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3955, allocations: 0 / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.3958, allocations: 111.9 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006208/0.3964, allocations: 464.8 kB / 1.062 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.3966, allocations: 110.5 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.3968, allocations: 64.88 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.753e-05/0.3968, allocations: 19.98 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.3969, allocations: 38.56 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.3969, allocations: 0 / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004789/0.3974, allocations: 225.3 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.3974, allocations: 55.34 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006107/0.398, allocations: 0.5327 MB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.398, allocations: 25.7 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.3982, allocations: 156.1 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.3982, allocations: 15.78 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.3982, allocations: 4 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3984, allocations: 342.8 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.3986, allocations: 104 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.3987, allocations: 95.94 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.3989, allocations: 111.9 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3989, allocations: 0 / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004644/0.3994, allocations: 275.8 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3994, allocations: 4 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3995, allocations: 7.938 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3995, allocations: 0 / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.3996, allocations: 39.92 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.3997, allocations: 7.984 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.088e-05/0.3997, allocations: 4 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3998, allocations: 4 kB / 1.065 GB, free: 14.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.3999, allocations: 171.3 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.4, allocations: 27.62 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.4003, allocations: 183.7 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4003, allocations: 0 / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4004, allocations: 4 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.4004, allocations: 0 / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.4006, allocations: 269.6 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4006, allocations: 11.98 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.906e-05/0.4007, allocations: 11.98 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.4007, allocations: 0 / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.4007, allocations: 0 / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4007, allocations: 0 / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4007, allocations: 0 / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.4011, allocations: 267.1 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/0.4012, allocations: 116.7 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.4012, allocations: 4 kB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.97e-05/0.4013, allocations: 11.92 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.4013, allocations: 3.938 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.4014, allocations: 8.031 kB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004079/0.4018, allocations: 399 kB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4018, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004348/0.4022, allocations: 83.98 kB / 1.066 GB, free: 12.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002949/0.4025, allocations: 147.1 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003419/0.4029, allocations: 175.9 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4029, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.403, allocations: 59.91 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.4033, allocations: 17.55 kB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008613/0.4042, allocations: 0.5508 MB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.4046, allocations: 0.7775 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.894e-05/0.4047, allocations: 34.53 kB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.4047, allocations: 19.44 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.4047, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of Templates: time 0.008392/0.4131, allocations: 2.577 MB / 1.07 GB, free: 8.25 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