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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002086/0.002086, allocations: 194.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.999/2.999, allocations: 497.2 MB / 0.7845 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 65.78 kB / 1.139 GB, free: 33.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3025, allocations: 173.9 MB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.00284/0.3054, allocations: 1.51 MB / 1.311 GB, free: 14.43 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3067, allocations: 0.744 MB / 1.312 GB, free: 13.68 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.3067, allocations: 4 kB / 1.312 GB, free: 13.68 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.307, allocations: 131.7 kB / 1.312 GB, free: 13.55 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.3071, allocations: 71.81 kB / 1.312 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006384/0.3077, allocations: 183.5 kB / 1.312 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.3078, allocations: 63.8 kB / 1.312 GB, free: 13.24 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.3079, allocations: 11.94 kB / 1.312 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.215e-05/0.3079, allocations: 39.88 kB / 1.312 GB, free: 13.19 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.3081, allocations: 87.83 kB / 1.312 GB, free: 13.1 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.3081, allocations: 4 kB / 1.312 GB, free: 13.1 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004026/0.3085, allocations: 231.7 kB / 1.312 GB, free: 12.87 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.3086, allocations: 67.75 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.325e-05/0.3087, allocations: 55.47 kB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.309, allocations: 275 kB / 1.313 GB, free: 12.48 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.309, allocations: 0 / 1.313 GB, free: 12.48 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.143e-06/0.309, allocations: 4 kB / 1.313 GB, free: 12.48 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.309, allocations: 0 / 1.313 GB, free: 12.48 MB / 1.014 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.0007154/0.3098, allocations: 0.5018 MB / 1.313 GB, free: 11.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.3098, allocations: 12.92 kB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.3098, allocations: 20.8 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.3101, allocations: 259.8 kB / 1.313 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3102, allocations: 8.375 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.3102, allocations: 4.375 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.3104, allocations: 81.91 kB / 1.314 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3104, allocations: 4 kB / 1.314 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.3104, allocations: 0 / 1.314 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3104, allocations: 0 / 1.314 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.3106, allocations: 87.88 kB / 1.314 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.3112, allocations: 400.7 kB / 1.314 GB, free: 10.97 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.3114, allocations: 90.52 kB / 1.314 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.3115, allocations: 48.83 kB / 1.314 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.671e-05/0.3115, allocations: 19.98 kB / 1.314 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3115, allocations: 34.56 kB / 1.314 GB, free: 10.76 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3115, allocations: 0 / 1.314 GB, free: 10.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0004322/0.312, allocations: 177.5 kB / 1.314 GB, free: 10.58 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.312, allocations: 51.41 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.3124, allocations: 355.2 kB / 1.315 GB, free: 10.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.3124, allocations: 25.7 kB / 1.315 GB, free: 10.13 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3125, allocations: 144.2 kB / 1.315 GB, free: 9.988 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.3125, allocations: 3.953 kB / 1.315 GB, free: 9.984 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.3125, allocations: 29.7 kB / 1.315 GB, free: 9.949 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3127, allocations: 338.8 kB / 1.315 GB, free: 9.609 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.3129, allocations: 91.89 kB / 1.315 GB, free: 9.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.313, allocations: 99.94 kB / 1.315 GB, free: 9.422 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.3133, allocations: 211.9 kB / 1.316 GB, free: 9.215 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3133, allocations: 3.984 kB / 1.316 GB, free: 9.211 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003689/0.3137, allocations: 253.3 kB / 1.316 GB, free: 8.957 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3137, allocations: 8 kB / 1.316 GB, free: 8.949 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3137, allocations: 0 / 1.316 GB, free: 8.949 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3137, allocations: 0 / 1.316 GB, free: 8.949 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.172e-05/0.3138, allocations: 7.984 kB / 1.316 GB, free: 8.941 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.3138, allocations: 0 / 1.316 GB, free: 8.941 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/0.3139, allocations: 23.88 kB / 1.316 GB, free: 8.918 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3139, allocations: 3.938 kB / 1.316 GB, free: 8.914 MB / 1.014 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.0001309/0.314, allocations: 145.8 kB / 1.316 GB, free: 8.762 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.314, allocations: 19.86 kB / 1.316 GB, free: 8.742 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.3143, allocations: 138.6 kB / 1.316 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3143, allocations: 4 kB / 1.316 GB, free: 8.594 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3143, allocations: 4.031 kB / 1.316 GB, free: 8.59 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3143, allocations: 0 / 1.316 GB, free: 8.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.3146, allocations: 249.5 kB / 1.316 GB, free: 8.297 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3146, allocations: 0 / 1.316 GB, free: 8.297 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-05/0.3146, allocations: 15.98 kB / 1.317 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3146, allocations: 3.938 kB / 1.317 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.3147, allocations: 0 / 1.317 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3147, allocations: 0 / 1.317 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3147, allocations: 0 / 1.317 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002999/0.315, allocations: 243.2 kB / 1.317 GB, free: 8.023 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.356e-05/0.315, allocations: 101 kB / 1.317 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.3151, allocations: 3.984 kB / 1.317 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/0.3152, allocations: 4 kB / 1.317 GB, free: 7.898 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.3152, allocations: 4 kB / 1.317 GB, free: 7.895 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.3152, allocations: 3.984 kB / 1.317 GB, free: 7.891 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002617/0.3155, allocations: 253.9 kB / 1.317 GB, free: 7.641 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3155, allocations: 0 / 1.317 GB, free: 7.641 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003387/0.3158, allocations: 71.86 kB / 1.317 GB, free: 7.57 MB / 1.014 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.0002845/0.3161, allocations: 147.1 kB / 1.317 GB, free: 7.418 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.3164, allocations: 147.8 kB / 1.317 GB, free: 7.273 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3164, allocations: 0 / 1.317 GB, free: 7.273 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.3165, allocations: 51.97 kB / 1.317 GB, free: 7.223 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.3168, allocations: 18.3 kB / 1.318 GB, free: 7.203 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006506/0.3175, allocations: 387.5 kB / 1.318 GB, free: 6.801 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.3179, allocations: 0.7431 MB / 1.319 GB, free: 6.031 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.021e-05/0.3179, allocations: 16.55 kB / 1.319 GB, free: 6.016 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.318, allocations: 11.44 kB / 1.319 GB, free: 6.004 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.318, allocations: 0 / 1.319 GB, free: 6.004 MB / 1.014 GB Notification: Performance of Templates: time 0.005729/0.3237, allocations: 2.131 MB / 1.321 GB, free: 3.875 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (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=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.126604398246855]