Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00138/0.00138, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001773/0.001773, allocations: 177.4 kB / 23.36 MB, free: 1.133 MB / 18.57 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.057/1.057, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.499/2.499, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.437e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.001862/0.001876, allocations: 1.577 MB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.002904, allocations: 0.7787 MB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.002941, allocations: 0 / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.00315, allocations: 139.7 kB / 0.8411 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004248/0.003575, allocations: 163.5 kB / 0.8412 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.003682, allocations: 67.78 kB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.675e-05/0.003769, allocations: 75.8 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.27e-05/0.003832, allocations: 4 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.041e-05/0.003882, allocations: 43.94 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.525e-05/0.003967, allocations: 75.83 kB / 0.8415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.00398, allocations: 4 kB / 0.8415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003551/0.004335, allocations: 267.5 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.677e-05/0.004432, allocations: 107.7 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.004465, allocations: 35.86 kB / 0.8419 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.00476, allocations: 335 kB / 0.8422 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.004762, allocations: 4 kB / 0.8422 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004763, allocations: 4 kB / 0.8422 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.004767, allocations: 0 / 0.8422 GB, free: 10.5 MB / 0.8073 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.0004246/0.005192, allocations: 470.7 kB / 0.8426 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.005221, allocations: 12.62 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.005251, allocations: 16.92 kB / 0.8427 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.005422, allocations: 246.8 kB / 0.8429 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-06/0.005431, allocations: 8.359 kB / 0.8429 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-06/0.005436, allocations: 384 / 0.8429 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.389e-05/0.00552, allocations: 57.78 kB / 0.843 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.005527, allocations: 192 / 0.843 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-06/0.005532, allocations: 4.375 kB / 0.843 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.005538, allocations: 3.938 kB / 0.843 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.916e-05/0.005557, allocations: 7.984 kB / 0.843 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.00575, allocations: 163.2 kB / 0.8431 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.782e-05/0.005797, allocations: 73.25 kB / 0.8432 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/0.005813, allocations: 12.92 kB / 0.8432 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.005849, allocations: 23.73 kB / 0.8432 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.005868, allocations: 30.56 kB / 0.8433 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.005869, allocations: 0 / 0.8433 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001051/0.005974, allocations: 61.61 kB / 0.8433 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.005999, allocations: 55.34 kB / 0.8434 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.00622, allocations: 377 kB / 0.8437 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.006228, allocations: 25.7 kB / 0.8438 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.006537, allocations: 125 kB / 0.8439 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.006551, allocations: 3.953 kB / 0.8439 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.00659, allocations: 41.64 kB / 0.8439 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.006668, allocations: 346.7 kB / 0.8443 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.006689, allocations: 14.83 kB / 0.8443 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.898e-05/0.006708, allocations: 16 kB / 0.8443 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.006755, allocations: 51.02 kB / 0.8443 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006757, allocations: 4.125 kB / 0.8443 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.835e-05/0.006845, allocations: 97.53 kB / 0.8444 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.006855, allocations: 4 kB / 0.8444 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.006859, allocations: 3.938 kB / 0.8444 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.006871, allocations: 3.938 kB / 0.8444 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.305e-05/0.006954, allocations: 27.98 kB / 0.8445 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.006957, allocations: 0 / 0.8445 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.006985, allocations: 8 kB / 0.8445 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.00699, allocations: 0 / 0.8445 GB, free: 7.992 MB / 0.8073 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 6.243e-05/0.007053, allocations: 132.6 kB / 0.8446 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.007075, allocations: 11.98 kB / 0.8446 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.248e-05/0.007148, allocations: 59.94 kB / 0.8447 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.00715, allocations: 3.938 kB / 0.8447 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.007151, allocations: 0 / 0.8447 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.007153, allocations: 0 / 0.8447 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.007265, allocations: 121.8 kB / 0.8448 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007266, allocations: 0 / 0.8448 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.152e-05/0.007288, allocations: 8 kB / 0.8448 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.81e-07/0.007289, allocations: 0 / 0.8448 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.007294, allocations: 4 kB / 0.8448 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.007296, allocations: 8.016 kB / 0.8448 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007297, allocations: 0 / 0.8448 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.066e-05/0.007378, allocations: 194.1 kB / 0.845 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.007408, allocations: 31.8 kB / 0.845 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.007421, allocations: 0 / 0.845 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.77e-05/0.007458, allocations: 4 kB / 0.845 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.007486, allocations: 7.922 kB / 0.845 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.007488, allocations: 0 / 0.845 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001149/0.007602, allocations: 171.5 kB / 0.8452 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.007602, allocations: 0 / 0.8452 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002179/0.00782, allocations: 87.89 kB / 0.8453 GB, free: 7.109 MB / 0.8073 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.0001785/0.007999, allocations: 148.3 kB / 0.8454 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.396e-05/0.008073, allocations: 40.72 kB / 0.8455 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.008076, allocations: 4 kB / 0.8455 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.374e-05/0.00809, allocations: 12.8 kB / 0.8455 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.008244, allocations: 23.38 kB / 0.8455 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.008665, allocations: 451.6 kB / 0.8459 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.356e-05/0.008719, allocations: 95.94 kB / 0.846 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.3e-05/0.008752, allocations: 26.62 kB / 0.8461 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.008808, allocations: 67.38 kB / 0.8461 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of SimCode: time 7.51e-07/0.008808, allocations: 4 kB / 0.8461 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of Templates: time 0.004686/0.01349, allocations: 3.029 MB / 0.8491 GB, free: 3.195 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.419214911293238]