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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001187/0.001187, allocations: 108 kB / 15.6 MB, free: 132 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.00109/0.00109, allocations: 191.7 kB / 16.53 MB, free: 6.391 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.781/2.781, allocations: 472.6 MB / 0.7451 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.92 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3207, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002782/0.3235, allocations: 1.473 MB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.3249, allocations: 0.779 MB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.325, allocations: 7.938 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.3253, allocations: 127.8 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006256/0.3259, allocations: 183.1 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.3261, allocations: 75.8 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.3262, allocations: 71.8 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.861e-05/0.3263, allocations: 4 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.085e-05/0.3264, allocations: 51.81 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.3265, allocations: 79.84 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.3265, allocations: 4 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.3269, allocations: 219.7 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.3271, allocations: 107.7 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.035e-05/0.3271, allocations: 79.28 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.3275, allocations: 315 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3275, allocations: 0 / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3275, allocations: 0 / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3276, allocations: 0 / 1.072 GB, free: 6.828 MB / 0.8262 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.0007793/0.3283, allocations: 0.5722 MB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3284, allocations: 8.031 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.094e-05/0.3285, allocations: 32.56 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.3289, allocations: 382.2 kB / 1.073 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3289, allocations: 4.312 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.3289, allocations: 384 / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.3291, allocations: 85.97 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.3291, allocations: 0 / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.3292, allocations: 8 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.3292, allocations: 0 / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/0.3294, allocations: 103.9 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/0.33, allocations: 460.7 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.3302, allocations: 102.5 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.3303, allocations: 56.89 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.205e-05/0.3303, allocations: 23.98 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3304, allocations: 34.56 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.575e-06/0.3304, allocations: 3.984 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004635/0.3309, allocations: 213.2 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3309, allocations: 51.41 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/0.3314, allocations: 0.5482 MB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.3315, allocations: 29.64 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.3316, allocations: 156.1 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.3316, allocations: 3.906 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.804e-05/0.3317, allocations: 45.61 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3319, allocations: 342.8 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.3321, allocations: 99.95 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.3322, allocations: 91.94 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.3325, allocations: 175.2 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3325, allocations: 3.938 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004078/0.333, allocations: 273.1 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.333, allocations: 9.875 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.333, allocations: 0 / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.333, allocations: 4 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3332, allocations: 23.98 kB / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3332, allocations: 0 / 1.075 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.517e-05/0.3333, allocations: 11.98 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.3333, allocations: 4 kB / 1.075 GB, free: 2.703 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.000175/0.3335, allocations: 169.7 kB / 1.076 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.3335, allocations: 35.61 kB / 1.076 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.3338, allocations: 163.8 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3339, allocations: 3.938 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3339, allocations: 0 / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.3339, allocations: 0 / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.3341, allocations: 277.5 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3341, allocations: 0 / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.3342, allocations: 15.95 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3342, allocations: 4 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.3342, allocations: 0 / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3342, allocations: 0 / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3342, allocations: 0 / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.3345, allocations: 255 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.944e-05/0.3346, allocations: 120.7 kB / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.3347, allocations: 4.031 kB / 1.076 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.382e-05/0.3348, allocations: 7.984 kB / 1.076 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.3348, allocations: 0 / 1.076 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.3348, allocations: 8 kB / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003663/0.3352, allocations: 403 kB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3352, allocations: 0 / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003514/0.3355, allocations: 72 kB / 1.077 GB, free: 1.098 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.0002835/0.3358, allocations: 155.7 kB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003328/0.3362, allocations: 171.8 kB / 1.077 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3362, allocations: 0 / 1.077 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.3363, allocations: 51.91 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.3367, allocations: 25.5 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009015/0.3376, allocations: 0.5281 MB / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.338, allocations: 0.7794 MB / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.429e-05/0.3381, allocations: 30.53 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.3381, allocations: 19.44 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.3381, allocations: 4 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of Templates: time 0.006272/0.3444, allocations: 2.767 MB / 1.081 GB, free: 12.52 MB / 0.8419 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