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 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.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.008596/0.008596, allocations: 102.3 kB / 15.73 MB, free: 5.992 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.001709/0.001709, allocations: 193.6 kB / 16.67 MB, free: 5.922 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.473/2.473, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.91 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8901/0.8913, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002492/0.8938, allocations: 1.505 MB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.895, allocations: 0.7323 MB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.318e-05/0.895, allocations: 0 / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.8952, allocations: 131.7 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.348e-05/0.8953, allocations: 67.84 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005902/0.8959, allocations: 183.5 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.8961, allocations: 71.8 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.2e-05/0.8961, allocations: 0 / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.798e-05/0.8961, allocations: 35.89 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.8963, allocations: 79.86 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.8963, allocations: 3.984 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004192/0.8967, allocations: 223.7 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.67e-05/0.8968, allocations: 67.81 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.8969, allocations: 51.5 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.8972, allocations: 283 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8972, allocations: 0 / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8972, allocations: 4 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.8972, allocations: 0 / 1.211 GB, free: 10.21 MB / 0.9356 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.0006536/0.8979, allocations: 0.4962 MB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.8979, allocations: 8.031 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.898, allocations: 20.66 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.8982, allocations: 263.6 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.8983, allocations: 4.312 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.8983, allocations: 4.375 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.8985, allocations: 93.89 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.8985, allocations: 0 / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.8985, allocations: 4 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.8985, allocations: 0 / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.8987, allocations: 79.94 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.8993, allocations: 396.7 kB / 1.212 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.8994, allocations: 94.53 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.8995, allocations: 44.89 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.758e-05/0.8996, allocations: 19.92 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.8996, allocations: 30.56 kB / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.8996, allocations: 0 / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004594/0.9001, allocations: 185.3 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.9001, allocations: 51.41 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.9005, allocations: 355.1 kB / 1.213 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.9005, allocations: 29.69 kB / 1.213 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.9006, allocations: 140.1 kB / 1.213 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.9006, allocations: 7.906 kB / 1.213 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.9007, allocations: 29.83 kB / 1.213 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.9008, allocations: 338.8 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.901, allocations: 91.95 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.9011, allocations: 99.88 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.9014, allocations: 206.8 kB / 1.214 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9015, allocations: 0 / 1.214 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003608/0.9018, allocations: 261.2 kB / 1.214 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.9018, allocations: 4 kB / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.9019, allocations: 0 / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.9019, allocations: 0 / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.146e-05/0.902, allocations: 11.98 kB / 1.214 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.902, allocations: 0 / 1.214 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.615e-05/0.9021, allocations: 15.83 kB / 1.214 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.9021, allocations: 4 kB / 1.214 GB, free: 6.652 MB / 0.9356 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.0001087/0.9022, allocations: 149.7 kB / 1.214 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.9022, allocations: 23.72 kB / 1.215 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.9025, allocations: 146.5 kB / 1.215 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.9025, allocations: 0 / 1.215 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.9026, allocations: 0 / 1.215 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9026, allocations: 0 / 1.215 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.9028, allocations: 245.5 kB / 1.215 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9028, allocations: 4.031 kB / 1.215 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.866e-05/0.9029, allocations: 7.984 kB / 1.215 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.9029, allocations: 7.938 kB / 1.215 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.9029, allocations: 0 / 1.215 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.9029, allocations: 0 / 1.215 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.9029, allocations: 0 / 1.215 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.9032, allocations: 243.1 kB / 1.215 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/0.9033, allocations: 100.8 kB / 1.215 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.9033, allocations: 0 / 1.215 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.898e-05/0.9034, allocations: 7.984 kB / 1.215 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.9034, allocations: 0 / 1.215 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.9034, allocations: 0 / 1.215 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002193/0.9037, allocations: 253.9 kB / 1.215 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9037, allocations: 0 / 1.215 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003256/0.904, allocations: 68 kB / 1.216 GB, free: 5.32 MB / 0.9356 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.0002731/0.9043, allocations: 155.2 kB / 1.216 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000316/0.9046, allocations: 163.8 kB / 1.216 GB, free: 5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9046, allocations: 0 / 1.216 GB, free: 5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.9047, allocations: 39.97 kB / 1.216 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.905, allocations: 16.59 kB / 1.216 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/0.9056, allocations: 383.9 kB / 1.216 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.9059, allocations: 0.7353 MB / 1.217 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.309e-05/0.906, allocations: 20.55 kB / 1.217 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.906, allocations: 15.44 kB / 1.217 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.906, allocations: 0 / 1.217 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of Templates: time 0.005162/0.9112, allocations: 2.137 MB / 1.219 GB, free: 1.609 MB / 0.9356 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