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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 106.8 kB / 17.54 MB, free: 4.766 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.001191/0.001191, allocations: 181.9 kB / 20.71 MB, free: 1.609 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.319/1.319, allocations: 225.6 MB / 249.3 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.509/2.509, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 67.89 kB / 1.107 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7715/0.7733, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002266/0.7756, allocations: 1.499 MB / 1.273 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.7768, allocations: 0.7929 MB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.7769, allocations: 1.062 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.7771, allocations: 128.9 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005198/0.7777, allocations: 183.6 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.7778, allocations: 73.36 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.7779, allocations: 68.31 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.572e-05/0.778, allocations: 4.125 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.778, allocations: 42.69 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.7782, allocations: 97.31 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.7782, allocations: 3.125 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003871/0.7786, allocations: 237.1 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.7787, allocations: 107.1 kB / 1.275 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.771e-05/0.7788, allocations: 92.75 kB / 1.275 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.7792, allocations: 353.9 kB / 1.275 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.7792, allocations: 0 / 1.275 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7792, allocations: 0 / 1.275 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.7792, allocations: 0.75 kB / 1.275 GB, free: 5.766 MB / 0.9981 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.0006755/0.7799, allocations: 0.6191 MB / 1.276 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.7799, allocations: 10.19 kB / 1.276 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.108e-05/0.7799, allocations: 30.75 kB / 1.276 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.78, allocations: 38.19 kB / 1.276 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007389/0.7807, allocations: 0.922 MB / 1.277 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.7807, allocations: 1.312 kB / 1.277 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.7807, allocations: 1.281 kB / 1.277 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.7809, allocations: 89.8 kB / 1.277 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.7809, allocations: 0 / 1.277 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.7809, allocations: 8.844 kB / 1.277 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.7809, allocations: 3.938 kB / 1.277 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.7811, allocations: 97.52 kB / 1.277 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006424/0.7818, allocations: 0.5765 MB / 1.277 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.782, allocations: 103.1 kB / 1.277 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.7821, allocations: 61.09 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.001e-05/0.7821, allocations: 23.14 kB / 1.277 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.7821, allocations: 31.44 kB / 1.277 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7821, allocations: 3.938 kB / 1.277 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004553/0.7826, allocations: 215.5 kB / 1.278 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.7826, allocations: 56.28 kB / 1.278 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.7837, allocations: 1.206 MB / 1.279 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-06/0.7837, allocations: 26.55 kB / 1.279 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.135e-05/0.7838, allocations: 179 kB / 1.279 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.7838, allocations: 4.656 kB / 1.279 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.7838, allocations: 17.36 kB / 1.279 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.029e-05/0.7839, allocations: 353.1 kB / 1.279 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.784, allocations: 55.42 kB / 1.28 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-05/0.7841, allocations: 49.08 kB / 1.28 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.7843, allocations: 103.1 kB / 1.28 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.7843, allocations: 1.812 kB / 1.28 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002411/0.7845, allocations: 168.4 kB / 1.28 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.7845, allocations: 5.562 kB / 1.28 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.7845, allocations: 0.8438 kB / 1.28 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.7845, allocations: 0.7188 kB / 1.28 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.7846, allocations: 9.031 kB / 1.28 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.7846, allocations: 5.156 kB / 1.28 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.376e-05/0.7847, allocations: 11.06 kB / 1.28 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.7847, allocations: 5.656 kB / 1.28 GB, free: 3.113 MB / 0.9981 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 (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 prepare postOptimizeDAE: time 0.0001024/0.7848, allocations: 168.7 kB / 1.28 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.7849, allocations: 32.95 kB / 1.28 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.7851, allocations: 173 kB / 1.28 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.7851, allocations: 0 / 1.28 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.7851, allocations: 0.8125 kB / 1.28 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.7851, allocations: 0.6094 kB / 1.28 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.7854, allocations: 301.2 kB / 1.281 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7854, allocations: 0 / 1.281 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.7854, allocations: 12.97 kB / 1.281 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7854, allocations: 0.7031 kB / 1.281 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.7854, allocations: 0.875 kB / 1.281 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7854, allocations: 0 / 1.281 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7854, allocations: 9.078 kB / 1.281 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.7857, allocations: 261 kB / 1.281 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-05/0.7858, allocations: 134.5 kB / 1.281 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.7858, allocations: 4.5 kB / 1.281 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-05/0.7859, allocations: 8.875 kB / 1.281 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.7859, allocations: 1.266 kB / 1.281 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.7859, allocations: 2.312 kB / 1.281 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007129/0.7866, allocations: 0.953 MB / 1.282 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7866, allocations: 0 / 1.282 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003394/0.787, allocations: 70.72 kB / 1.282 GB, free: 2.07 MB / 0.9981 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.0005441/0.7875, allocations: 0.8537 MB / 1.283 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.7877, allocations: 104 kB / 1.283 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7877, allocations: 5.219 kB / 1.283 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.7878, allocations: 52.55 kB / 1.283 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.7881, allocations: 24.09 kB / 1.283 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00592/0.7941, allocations: 6.766 MB / 1.29 GB, free: 14.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.7944, allocations: 0.7822 MB / 1.29 GB, free: 14.06 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.14e-05/0.7945, allocations: 38.62 kB / 1.29 GB, free: 14.06 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.7946, allocations: 92.45 kB / 1.29 GB, free: 13.99 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/0.7946, allocations: 1.156 kB / 1.29 GB, free: 13.99 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.8253, allocations: 7.156 MB / 1.297 GB, free: 13.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.412/8.238, allocations: 9.016 kB / 1.297 GB, free: 13.25 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 Buildings_11_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.csv","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.65108550900186]