Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008114/0.008114, allocations: 98.8 kB / 15.73 MB, free: 6.035 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.00155/0.00155, allocations: 193.4 kB / 16.67 MB, free: 5.961 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 472.6 MB / 0.7453 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 63.91 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3183, allocations: 159.9 MB / 1.226 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.003262/0.3216, allocations: 1.503 MB / 1.227 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.3231, allocations: 0.7514 MB / 1.228 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.3231, allocations: 0 / 1.228 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.3234, allocations: 131.8 kB / 1.228 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.3235, allocations: 71.77 kB / 1.228 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006997/0.3242, allocations: 179.5 kB / 1.228 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000204/0.3244, allocations: 71.75 kB / 1.228 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.3245, allocations: 4 kB / 1.228 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.929e-05/0.3246, allocations: 35.94 kB / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.3247, allocations: 75.86 kB / 1.228 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3247, allocations: 4 kB / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004255/0.3252, allocations: 231.7 kB / 1.229 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.3253, allocations: 63.81 kB / 1.229 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.023e-05/0.3254, allocations: 55.48 kB / 1.229 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.3258, allocations: 286.8 kB / 1.229 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3258, allocations: 0 / 1.229 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3258, allocations: 0 / 1.229 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.3258, allocations: 4 kB / 1.229 GB, free: 5.719 MB / 0.9825 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.0008124/0.3266, allocations: 0.5057 MB / 1.229 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3267, allocations: 8.031 kB / 1.229 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.3267, allocations: 28.75 kB / 1.23 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.3271, allocations: 259.9 kB / 1.23 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3271, allocations: 384 / 1.23 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.3271, allocations: 4.375 kB / 1.23 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.3274, allocations: 81.97 kB / 1.23 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3274, allocations: 0 / 1.23 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.3274, allocations: 4 kB / 1.23 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3274, allocations: 0 / 1.23 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.3276, allocations: 83.88 kB / 1.23 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.3282, allocations: 400.7 kB / 1.23 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.3284, allocations: 90.53 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3285, allocations: 48.89 kB / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.207e-05/0.3285, allocations: 15.98 kB / 1.23 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.3286, allocations: 30.56 kB / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.3286, allocations: 0 / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004351/0.329, allocations: 185.4 kB / 1.231 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.329, allocations: 55.41 kB / 1.231 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.3294, allocations: 351.2 kB / 1.231 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.3294, allocations: 25.7 kB / 1.231 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.3296, allocations: 144 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.3296, allocations: 7.891 kB / 1.231 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.3296, allocations: 33.69 kB / 1.231 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3298, allocations: 342.9 kB / 1.232 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.3299, allocations: 95.89 kB / 1.232 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3301, allocations: 95.94 kB / 1.232 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.3304, allocations: 204.7 kB / 1.232 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3304, allocations: 0 / 1.232 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003466/0.3307, allocations: 264.2 kB / 1.232 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3307, allocations: 4 kB / 1.232 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3308, allocations: 0 / 1.232 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3308, allocations: 0 / 1.232 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.3309, allocations: 11.98 kB / 1.232 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3309, allocations: 0 / 1.232 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.3309, allocations: 15.88 kB / 1.232 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.331, allocations: 0 / 1.232 GB, free: 2.16 MB / 0.9825 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001057/0.3311, allocations: 145.8 kB / 1.232 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.3311, allocations: 27.86 kB / 1.232 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.3314, allocations: 146.6 kB / 1.233 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3314, allocations: 3.984 kB / 1.233 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3314, allocations: 0 / 1.233 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3314, allocations: 0 / 1.233 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.3317, allocations: 245.5 kB / 1.233 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3317, allocations: 0 / 1.233 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/0.3317, allocations: 12.02 kB / 1.233 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3317, allocations: 0 / 1.233 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.3318, allocations: 4 kB / 1.233 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3318, allocations: 4 kB / 1.233 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3318, allocations: 0 / 1.233 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.3321, allocations: 243.2 kB / 1.233 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/0.3322, allocations: 96.97 kB / 1.233 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.3323, allocations: 7.984 kB / 1.233 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.3323, allocations: 4 kB / 1.233 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.3324, allocations: 0 / 1.233 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3324, allocations: 0 / 1.233 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002193/0.3326, allocations: 253.9 kB / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3326, allocations: 0 / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003234/0.333, allocations: 63.94 kB / 1.233 GB, free: 0.832 MB / 0.9825 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.0003255/0.3333, allocations: 167 kB / 1.234 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000309/0.3336, allocations: 155.9 kB / 1.234 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3336, allocations: 4 kB / 1.234 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.3337, allocations: 43.91 kB / 1.234 GB, free: 472 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.334, allocations: 20.53 kB / 1.234 GB, free: 448 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005335/0.3346, allocations: 375.7 kB / 1.234 GB, free: 44 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.335, allocations: 0.7353 MB / 1.235 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.058e-05/0.3351, allocations: 20.55 kB / 1.235 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.3351, allocations: 15.44 kB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.3351, allocations: 0 / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of Templates: time 0.005009/0.3401, allocations: 2.105 MB / 1.237 GB, free: 13.14 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches