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.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.001386/0.001386, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.001526/0.001526, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.453/1.453, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.77/2.77, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.994e-05, allocations: 3.969 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002855/0.002885, allocations: 1.483 MB / 0.9524 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.004446, allocations: 0.7679 MB / 0.9532 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.004497, allocations: 0 / 0.9532 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.00477, allocations: 131.7 kB / 0.9533 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006643/0.005435, allocations: 183.5 kB / 0.9535 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.005638, allocations: 83.67 kB / 0.9536 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.005776, allocations: 67.8 kB / 0.9536 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.989e-05/0.005856, allocations: 4 kB / 0.9536 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.777e-05/0.005954, allocations: 47.88 kB / 0.9537 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.006091, allocations: 87.88 kB / 0.9538 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.006107, allocations: 0 / 0.9538 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004865/0.006593, allocations: 243.6 kB / 0.954 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.006753, allocations: 107.7 kB / 0.9541 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.961e-05/0.006823, allocations: 39.8 kB / 0.9541 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005857/0.007409, allocations: 355 kB / 0.9545 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.007412, allocations: 4 kB / 0.9545 GB, free: 8 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.02e-07/0.007413, allocations: 0 / 0.9545 GB, free: 8 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.007425, allocations: 0 / 0.9545 GB, free: 8 MB / 0.8575 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.0008622/0.008287, allocations: 0.5041 MB / 0.955 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.008324, allocations: 12.03 kB / 0.955 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.302e-05/0.008407, allocations: 28.75 kB / 0.955 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.008821, allocations: 324 kB / 0.9553 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-06/0.008829, allocations: 384 / 0.9553 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.008843, allocations: 8.312 kB / 0.9553 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.009053, allocations: 90.22 kB / 0.9554 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.009066, allocations: 4.172 kB / 0.9554 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.009074, allocations: 384 / 0.9554 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.009081, allocations: 3.938 kB / 0.9554 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.009315, allocations: 103.9 kB / 0.9555 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.009875, allocations: 392.5 kB / 0.9559 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.01007, allocations: 114.4 kB / 0.956 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.0102, allocations: 56.89 kB / 0.956 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.253e-05/0.01025, allocations: 19.98 kB / 0.9561 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.01028, allocations: 38.5 kB / 0.9561 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.01028, allocations: 0 / 0.9561 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004939/0.01078, allocations: 209.4 kB / 0.9563 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.01082, allocations: 51.41 kB / 0.9564 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006103/0.01143, allocations: 0.5366 MB / 0.9569 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.01145, allocations: 37.77 kB / 0.9569 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.01158, allocations: 164.1 kB / 0.9571 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.01159, allocations: 3.953 kB / 0.9571 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.01166, allocations: 45.66 kB / 0.9571 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.01182, allocations: 338.8 kB / 0.9574 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.012, allocations: 91.94 kB / 0.9575 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.01216, allocations: 106 kB / 0.9576 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.01248, allocations: 168.8 kB / 0.9578 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01248, allocations: 4 kB / 0.9578 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004354/0.01292, allocations: 271.9 kB / 0.958 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.01294, allocations: 7.938 kB / 0.9581 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.01294, allocations: 0 / 0.9581 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.01296, allocations: 0 / 0.9581 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.0131, allocations: 31.92 kB / 0.9581 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.01311, allocations: 0 / 0.9581 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.063e-05/0.01319, allocations: 15.92 kB / 0.9581 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.0132, allocations: 12 kB / 0.9581 GB, free: 4.098 MB / 0.8575 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.0001559/0.01336, allocations: 161.8 kB / 0.9583 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.01341, allocations: 35.7 kB / 0.9583 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.01375, allocations: 167.8 kB / 0.9585 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01375, allocations: 0 / 0.9585 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01375, allocations: 0 / 0.9585 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01376, allocations: 3.984 kB / 0.9585 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.014, allocations: 209.2 kB / 0.9587 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.014, allocations: 4.031 kB / 0.9587 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.718e-05/0.01406, allocations: 15.98 kB / 0.9587 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01407, allocations: 0 / 0.9587 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.01407, allocations: 3.938 kB / 0.9587 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.01408, allocations: 0 / 0.9587 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01408, allocations: 0 / 0.9587 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.01442, allocations: 259.2 kB / 0.9589 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-05/0.01449, allocations: 35.8 kB / 0.959 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.01453, allocations: 11.97 kB / 0.959 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-05/0.01462, allocations: 3.984 kB / 0.959 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.01466, allocations: 7.938 kB / 0.959 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.01467, allocations: 0 / 0.959 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004366/0.0151, allocations: 407 kB / 0.9594 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.0151, allocations: 0 / 0.9594 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003763/0.01548, allocations: 75.94 kB / 0.9595 GB, free: 2.66 MB / 0.8575 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.0003486/0.01583, allocations: 163.1 kB / 0.9596 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003857/0.01621, allocations: 163.8 kB / 0.9598 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01621, allocations: 0 / 0.9598 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.01634, allocations: 51.97 kB / 0.9598 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.0167, allocations: 13.5 kB / 0.9598 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008318/0.01754, allocations: 0.5309 MB / 0.9603 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.01771, allocations: 176.7 kB / 0.9605 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.433e-05/0.01778, allocations: 34.62 kB / 0.9605 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.01782, allocations: 16.5 kB / 0.9606 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of SimCode: time 8.22e-07/0.01782, allocations: 4 kB / 0.9606 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of Templates: time 0.007175/0.025, allocations: 2.858 MB / 0.9634 GB, free: 14.64 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins/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: 7.926888033747673]