Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001395/0.001395, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00152/0.00152, allocations: 181 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.035/1.035, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.399/2.399, allocations: 438.8 MB / 0.6827 GB, free: 13.55 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.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.564e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.00292/0.002946, allocations: 1.565 MB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.004297, allocations: 0.732 MB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.004342, allocations: 0 / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.004594, allocations: 135.7 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.004713, allocations: 71.83 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007092/0.005423, allocations: 187.5 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.005558, allocations: 63.8 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.005599, allocations: 4 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.00571, allocations: 59.8 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.005818, allocations: 59.92 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.005833, allocations: 4 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.006269, allocations: 239.5 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.988e-05/0.006369, allocations: 63.84 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.006411, allocations: 31.84 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000443/0.006854, allocations: 299.2 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.006858, allocations: 4 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.71e-07/0.006859, allocations: 0 / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.006862, allocations: 0 / 0.842 GB, free: 10.6 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.0005208/0.007383, allocations: 403.3 kB / 0.8424 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.007419, allocations: 12.56 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.007459, allocations: 12.92 kB / 0.8425 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.007656, allocations: 181.9 kB / 0.8426 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.007666, allocations: 4.375 kB / 0.8426 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.007676, allocations: 384 / 0.8426 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.007788, allocations: 49.78 kB / 0.8427 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.007796, allocations: 4.188 kB / 0.8427 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.007802, allocations: 384 / 0.8427 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.00781, allocations: 3.938 kB / 0.8427 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.048e-05/0.00783, allocations: 4 kB / 0.8427 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.008081, allocations: 185.8 kB / 0.8429 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.109e-05/0.008152, allocations: 73.3 kB / 0.8429 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/0.008167, allocations: 4.859 kB / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/0.008214, allocations: 23.84 kB / 0.843 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.00824, allocations: 34.55 kB / 0.843 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.008241, allocations: 4 kB / 0.843 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001307/0.008371, allocations: 49.56 kB / 0.843 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.008407, allocations: 55.41 kB / 0.8431 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.008633, allocations: 262.9 kB / 0.8434 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.008644, allocations: 25.7 kB / 0.8434 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.008701, allocations: 108.6 kB / 0.8435 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.008713, allocations: 3.953 kB / 0.8435 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.008754, allocations: 29.69 kB / 0.8435 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.008859, allocations: 338.8 kB / 0.8438 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.008889, allocations: 14.95 kB / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/0.008909, allocations: 19.52 kB / 0.8439 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.761e-05/0.008966, allocations: 47.66 kB / 0.8439 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.008968, allocations: 0 / 0.8439 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001116/0.00908, allocations: 89.55 kB / 0.844 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.009094, allocations: 4 kB / 0.844 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.009099, allocations: 0 / 0.844 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.009112, allocations: 3.938 kB / 0.844 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.26e-05/0.009165, allocations: 4 kB / 0.844 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.009167, allocations: 0 / 0.844 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.645e-05/0.009204, allocations: 19.89 kB / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.009212, allocations: 3.984 kB / 0.844 GB, free: 8.398 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 (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.248e-05/0.009284, allocations: 116.6 kB / 0.8441 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.009314, allocations: 8 kB / 0.8442 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.009422, allocations: 66.66 kB / 0.8442 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.009426, allocations: 3.938 kB / 0.8442 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.009427, allocations: 0 / 0.8442 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.00943, allocations: 0 / 0.8442 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.009584, allocations: 105.8 kB / 0.8443 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.009587, allocations: 4 kB / 0.8443 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.583e-05/0.009613, allocations: 4.031 kB / 0.8443 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.009615, allocations: 0 / 0.8443 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.00962, allocations: 4 kB / 0.8443 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.009622, allocations: 0 / 0.8443 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.009623, allocations: 0 / 0.8443 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.009743, allocations: 190.2 kB / 0.8445 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.009774, allocations: 19.86 kB / 0.8445 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.009789, allocations: 0 / 0.8445 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.009846, allocations: 3.984 kB / 0.8445 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.009877, allocations: 7.938 kB / 0.8445 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.00988, allocations: 4.031 kB / 0.8445 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001066/0.009987, allocations: 100.6 kB / 0.8446 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.009987, allocations: 0 / 0.8446 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000343/0.01033, allocations: 67.92 kB / 0.8447 GB, free: 7.656 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.0002807/0.01061, allocations: 144.2 kB / 0.8448 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.349e-05/0.0107, allocations: 36.83 kB / 0.8449 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.01071, allocations: 0 / 0.8449 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.719e-05/0.01073, allocations: 8.859 kB / 0.8449 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.01093, allocations: 18.78 kB / 0.8449 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006502/0.01158, allocations: 322.8 kB / 0.8452 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.538e-05/0.01165, allocations: 87.3 kB / 0.8453 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.105e-05/0.01169, allocations: 12.48 kB / 0.8453 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.01175, allocations: 63.38 kB / 0.8454 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of SimCode: time 7.92e-07/0.01176, allocations: 3.938 kB / 0.8454 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of Templates: time 0.004964/0.01672, allocations: 2.212 MB / 0.8475 GB, free: 4.711 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_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.383925671689212]