Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|int.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|int.y",fileNamePrefix="Buildings_11_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.001361/0.001361, allocations: 106.4 kB / 15.99 MB, free: 6.348 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.001336/0.001336, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.431/1.431, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.739/2.739, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 66.72 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3428, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002895/0.3457, allocations: 1.533 MB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3471, allocations: 0.7831 MB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.3471, allocations: 0 / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.3474, allocations: 131.8 kB / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0005214/0.3479, allocations: 171.6 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.3481, allocations: 51.95 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.3482, allocations: 79.73 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.358e-05/0.3483, allocations: 4 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.529e-05/0.3483, allocations: 43.88 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.3485, allocations: 79.86 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.3485, allocations: 4 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003642/0.3489, allocations: 223.7 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.349, allocations: 111.7 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.3491, allocations: 79.3 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.3494, allocations: 227.6 kB / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3494, allocations: 4 kB / 1.068 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3494, allocations: 0 / 1.068 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3494, allocations: 0 / 1.068 GB, free: 11.59 MB / 0.8419 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.0008434/0.3503, allocations: 0.5644 MB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3503, allocations: 8.031 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.3504, allocations: 28.56 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.3508, allocations: 378.3 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.026e-06/0.3509, allocations: 384 / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.3509, allocations: 12.36 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.3511, allocations: 81.98 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3511, allocations: 0 / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3511, allocations: 4 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.3511, allocations: 0 / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.3514, allocations: 103.9 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.352, allocations: 464.7 kB / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.3522, allocations: 98.53 kB / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.3523, allocations: 68.8 kB / 1.069 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.82e-05/0.3524, allocations: 23.98 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3524, allocations: 30.56 kB / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3524, allocations: 4 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0004758/0.3529, allocations: 213.1 kB / 1.07 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.3529, allocations: 51.41 kB / 1.07 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006494/0.3536, allocations: 0.5404 MB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.3536, allocations: 25.7 kB / 1.07 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.3538, allocations: 160.1 kB / 1.07 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.3538, allocations: 12.02 kB / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.028e-05/0.3539, allocations: 45.61 kB / 1.07 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.3541, allocations: 342.8 kB / 1.071 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.3542, allocations: 87.94 kB / 1.071 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.3544, allocations: 95.94 kB / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.3547, allocations: 178.7 kB / 1.071 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3547, allocations: 4 kB / 1.071 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004227/0.3552, allocations: 274.3 kB / 1.071 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3552, allocations: 4 kB / 1.071 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3552, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3552, allocations: 7.984 kB / 1.071 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.3554, allocations: 23.98 kB / 1.071 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3554, allocations: 0 / 1.071 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.418e-05/0.3555, allocations: 12 kB / 1.071 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.3555, allocations: 8 kB / 1.071 GB, free: 7.477 MB / 0.8419 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.0001636/0.3557, allocations: 175 kB / 1.072 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.3557, allocations: 27.62 kB / 1.072 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.3561, allocations: 163.8 kB / 1.072 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3561, allocations: 0 / 1.072 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3561, allocations: 0 / 1.072 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3561, allocations: 4.031 kB / 1.072 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.3564, allocations: 281.5 kB / 1.072 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3564, allocations: 0 / 1.072 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.063e-05/0.3565, allocations: 11.94 kB / 1.072 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3565, allocations: 0 / 1.072 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.118e-06/0.3565, allocations: 3.984 kB / 1.072 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3565, allocations: 0 / 1.072 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3565, allocations: 3.938 kB / 1.072 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.3568, allocations: 259 kB / 1.072 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.357, allocations: 108.8 kB / 1.072 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.357, allocations: 3.984 kB / 1.072 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.21e-05/0.3571, allocations: 8 kB / 1.072 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.3571, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.3572, allocations: 7.984 kB / 1.072 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004301/0.3576, allocations: 395.1 kB / 1.073 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3576, allocations: 4.031 kB / 1.073 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004005/0.358, allocations: 79.89 kB / 1.073 GB, free: 5.875 MB / 0.8419 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.0003432/0.3584, allocations: 159.2 kB / 1.073 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.3587, allocations: 163.8 kB / 1.073 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3587, allocations: 4 kB / 1.073 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.3589, allocations: 47.97 kB / 1.073 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.3592, allocations: 29.56 kB / 1.073 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008301/0.36, allocations: 0.5728 MB / 1.074 GB, free: 4.867 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.3605, allocations: 0.7632 MB / 1.075 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.3606, allocations: 23.44 kB / 1.075 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3606, allocations: 0 / 1.075 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of Templates: time 0.006109/0.3667, allocations: 3.346 MB / 1.078 GB, free: 0.7344 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches