Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 108.3 kB / 19.7 MB, free: 2.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 215.9 kB / 22.99 MB, free: 4.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.402/3.402, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 71.47 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4037, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003043/0.4067, allocations: 1.471 MB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.4083, allocations: 0.7635 MB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.4083, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.4086, allocations: 135.7 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006519/0.4093, allocations: 188.5 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.4095, allocations: 79.67 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.4096, allocations: 71.86 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.4097, allocations: 7.922 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.087e-05/0.4097, allocations: 35.91 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.4099, allocations: 91.81 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.4099, allocations: 4 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004476/0.4103, allocations: 251.6 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.4105, allocations: 107.7 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.924e-05/0.4106, allocations: 71.39 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004551/0.411, allocations: 322.8 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.411, allocations: 0 / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.345e-06/0.411, allocations: 0 / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.4111, allocations: 0 / 1.331 GB, free: 13.33 MB / 1.029 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.0008845/0.4119, allocations: 0.508 MB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.412, allocations: 8.031 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.874e-05/0.412, allocations: 28.75 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005163/0.4126, allocations: 324.8 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.4126, allocations: 384 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.4126, allocations: 4.312 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.4128, allocations: 97.89 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4128, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.4129, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4129, allocations: 4 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.4131, allocations: 99.92 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007019/0.4138, allocations: 400.4 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.414, allocations: 110.4 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.4141, allocations: 60.89 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.779e-05/0.4142, allocations: 19.98 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.4142, allocations: 38.56 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4142, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004965/0.4147, allocations: 205.4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.4147, allocations: 51.41 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006034/0.4153, allocations: 0.5406 MB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.4154, allocations: 25.7 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.4155, allocations: 168 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.4155, allocations: 7.953 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.4156, allocations: 41.66 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.4158, allocations: 342.8 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.4159, allocations: 87.94 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.4161, allocations: 103.9 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.4164, allocations: 178.6 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4164, allocations: 0 / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000435/0.4168, allocations: 271.8 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4169, allocations: 8 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4169, allocations: 3.938 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.4169, allocations: 0 / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.4171, allocations: 27.92 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4171, allocations: 4 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-05/0.4171, allocations: 15.92 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4171, allocations: 4 kB / 1.334 GB, free: 9.422 MB / 1.029 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 (15): * Single equations (assignments): 15 * 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.0001585/0.4173, allocations: 170.3 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.4174, allocations: 27.81 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.4177, allocations: 163.8 kB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.4177, allocations: 4 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4177, allocations: 7.922 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4177, allocations: 4.031 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.4179, allocations: 213.2 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.4179, allocations: 3.938 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.418, allocations: 7.984 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.418, allocations: 0 / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.418, allocations: 4 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.418, allocations: 0 / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.418, allocations: 0 / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.4184, allocations: 259.2 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.4185, allocations: 47.77 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.4185, allocations: 0 / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.016e-05/0.4186, allocations: 7.984 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.4186, allocations: 0 / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.4186, allocations: 8 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004355/0.4191, allocations: 399 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4191, allocations: 4 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003851/0.4194, allocations: 75.92 kB / 1.336 GB, free: 7.984 MB / 1.029 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.0002927/0.4197, allocations: 147.1 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.4201, allocations: 167.8 kB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.4201, allocations: 0 / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.4202, allocations: 51.97 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.4206, allocations: 19.16 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008245/0.4214, allocations: 0.5278 MB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.4216, allocations: 175.8 kB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.805e-05/0.4216, allocations: 30.62 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.4217, allocations: 23.44 kB / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4217, allocations: 0 / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of Templates: time 0.007275/0.429, allocations: 3.088 MB / 1.34 GB, free: 3.723 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.4518379640067]