Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001392/0.001392, allocations: 108.2 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.001147/0.001147, allocations: 182.7 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.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 179] 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.524/2.524, allocations: 476.7 MB / 0.7628 GB, free: 15.16 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.Functions.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.89 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7588/0.7607, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002308/0.763, allocations: 1.517 MB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.7641, allocations: 0.7499 MB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.7641, allocations: 0 / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.7643, allocations: 131 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.133e-05/0.7644, allocations: 69.66 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.765, allocations: 183.4 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.856e-05/0.7651, allocations: 63.8 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.44e-05/0.7651, allocations: 2.406 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.15e-05/0.7651, allocations: 43.53 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.7653, allocations: 89.81 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.7653, allocations: 2.188 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003714/0.7656, allocations: 238.6 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.435e-05/0.7657, allocations: 64.84 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.7658, allocations: 55.2 kB / 1.275 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.7661, allocations: 270.2 kB / 1.275 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.7661, allocations: 4.812 kB / 1.275 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7661, allocations: 3.938 kB / 1.275 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.7661, allocations: 0 / 1.275 GB, free: 5.84 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.0005054/0.7666, allocations: 0.5123 MB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.7667, allocations: 9.625 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.597e-05/0.7667, allocations: 35.69 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.7667, allocations: 24.58 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.7669, allocations: 264.7 kB / 1.276 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.7669, allocations: 1.062 kB / 1.276 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.7669, allocations: 5.875 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.7671, allocations: 77.72 kB / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.7671, allocations: 0 / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.7671, allocations: 0 / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.7671, allocations: 1.156 kB / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.7673, allocations: 87.11 kB / 1.276 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.7678, allocations: 396.7 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.7679, allocations: 89.81 kB / 1.276 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.768, allocations: 53.48 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.7681, allocations: 16.03 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.7681, allocations: 33.12 kB / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7681, allocations: 0 / 1.276 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004037/0.7685, allocations: 183.4 kB / 1.277 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.645e-05/0.7685, allocations: 52.47 kB / 1.277 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.7688, allocations: 356 kB / 1.277 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.7688, allocations: 25.7 kB / 1.277 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.7689, allocations: 138.4 kB / 1.277 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/0.7689, allocations: 8.984 kB / 1.277 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.7689, allocations: 27.08 kB / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.127e-05/0.769, allocations: 337.2 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.7691, allocations: 98.98 kB / 1.278 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.7693, allocations: 102.3 kB / 1.278 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.7695, allocations: 204.3 kB / 1.278 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.7695, allocations: 0 / 1.278 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003441/0.7699, allocations: 259.4 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.7699, allocations: 7.938 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.7699, allocations: 0 / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7699, allocations: 4.781 kB / 1.278 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.77, allocations: 11.55 kB / 1.278 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.77, allocations: 0 / 1.278 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.7701, allocations: 16.06 kB / 1.278 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.7701, allocations: 1 kB / 1.278 GB, free: 3.707 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 (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 7.987e-05/0.7701, allocations: 146.6 kB / 1.278 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.7702, allocations: 20.3 kB / 1.278 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.7705, allocations: 152.2 kB / 1.278 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7705, allocations: 0.6875 kB / 1.278 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.7705, allocations: 5 kB / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.7705, allocations: 3.984 kB / 1.278 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.7707, allocations: 243.4 kB / 1.279 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7707, allocations: 0 / 1.279 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.642e-05/0.7707, allocations: 7.703 kB / 1.279 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.7707, allocations: 2.688 kB / 1.279 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.7707, allocations: 4 kB / 1.279 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.7707, allocations: 4.625 kB / 1.279 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.7707, allocations: 0.5625 kB / 1.279 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.771, allocations: 234 kB / 1.279 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.771, allocations: 101.5 kB / 1.279 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.771, allocations: 0.9688 kB / 1.279 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.381e-05/0.7711, allocations: 10.7 kB / 1.279 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.7712, allocations: 2.828 kB / 1.279 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.7712, allocations: 1.156 kB / 1.279 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002241/0.7714, allocations: 251.1 kB / 1.279 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7714, allocations: 0 / 1.279 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003654/0.7718, allocations: 69.36 kB / 1.279 GB, free: 2.902 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.0005743/0.7723, allocations: 0.8298 MB / 1.28 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002909/0.7726, allocations: 143.7 kB / 1.28 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7726, allocations: 0 / 1.28 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.7727, allocations: 45.94 kB / 1.28 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.773, allocations: 17.34 kB / 1.28 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.7754, allocations: 2.731 MB / 1.283 GB, free: 16.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.7757, allocations: 0.7363 MB / 1.284 GB, free: 15.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.872e-05/0.7758, allocations: 14.95 kB / 1.284 GB, free: 15.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.7758, allocations: 53.89 kB / 1.284 GB, free: 15.91 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.7758, allocations: 0 / 1.284 GB, free: 15.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.8036, allocations: 4.28 MB / 1.288 GB, free: 15.38 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.173/7.976, allocations: 13.62 kB / 1.288 GB, free: 15.38 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.233648162000463]