Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.0009993/0.0009993, 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.001097/0.001097, allocations: 177 kB / 23.36 MB, free: 1.129 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.063/1.063, allocations: 177.2 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.378/2.378, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.814e-05, allocations: 4.422 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00164/0.001658, allocations: 0.6382 MB / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.003687, allocations: 1.47 MB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.003713, allocations: 0 / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.484e-05/0.003768, allocations: 0 / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.947e-05/0.003808, allocations: 3.938 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007177/0.004525, allocations: 223.4 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.505e-05/0.004611, allocations: 43.84 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.004648, allocations: 4 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.004692, allocations: 15.98 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.004745, allocations: 27.95 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.004758, allocations: 0 / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004373/0.005195, allocations: 259.5 kB / 0.8413 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.086e-05/0.005226, allocations: 8 kB / 0.8413 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.005253, allocations: 11.92 kB / 0.8413 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.005604, allocations: 275.3 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005606, allocations: 0 / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.21e-07/0.005607, allocations: 4 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.00561, allocations: 0 / 0.8415 GB, free: 11.18 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003447/0.005955, allocations: 302.2 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.005987, allocations: 8.031 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.006019, allocations: 4.938 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.097e-05/0.00611, allocations: 117.7 kB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.006121, allocations: 384 / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.006134, allocations: 4.375 kB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.006249, allocations: 78.75 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.006258, allocations: 192 / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.006268, allocations: 4.375 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.006275, allocations: 7.938 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.448e-05/0.006319, allocations: 45.62 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.741e-05/0.006397, allocations: 63.81 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.074e-05/0.006468, allocations: 56.27 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.006506, allocations: 46.58 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-06/0.006509, allocations: 0 / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.006534, allocations: 38.56 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.006535, allocations: 0 / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001997/0.006735, allocations: 170.8 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.006775, allocations: 81.11 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/0.006853, allocations: 114.7 kB / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.006869, allocations: 29.7 kB / 0.8427 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/0.006894, allocations: 80.14 kB / 0.8427 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.00693, allocations: 23.83 kB / 0.8428 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.00697, allocations: 17.72 kB / 0.8428 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.007062, allocations: 326.8 kB / 0.8431 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.442e-05/0.007106, allocations: 48.45 kB / 0.8431 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.439e-05/0.007141, allocations: 37.7 kB / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.397e-05/0.007225, allocations: 91.06 kB / 0.8433 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.007227, allocations: 3.938 kB / 0.8433 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001229/0.00735, allocations: 129.1 kB / 0.8434 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.007381, allocations: 33.7 kB / 0.8434 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.007387, allocations: 3.984 kB / 0.8434 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.007399, allocations: 4 kB / 0.8434 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.409e-06/0.007403, allocations: 0 / 0.8434 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.007405, allocations: 0 / 0.8434 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.647e-05/0.007462, allocations: 15.83 kB / 0.8434 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.007481, allocations: 4 kB / 0.8434 GB, free: 8.969 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.716e-05/0.007568, allocations: 150.4 kB / 0.8436 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.007587, allocations: 11.98 kB / 0.8436 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.142e-05/0.007599, allocations: 8.469 kB / 0.8436 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.007601, allocations: 0 / 0.8436 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.007603, allocations: 4 kB / 0.8436 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.007606, allocations: 0 / 0.8436 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.915e-05/0.007675, allocations: 73.81 kB / 0.8437 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.007676, allocations: 0 / 0.8437 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.007677, allocations: 0 / 0.8437 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.007682, allocations: 7.984 kB / 0.8437 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.00769, allocations: 0 / 0.8437 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.007693, allocations: 3.938 kB / 0.8437 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007694, allocations: 0 / 0.8437 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.007877, allocations: 178.7 kB / 0.8439 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.007886, allocations: 7.953 kB / 0.8439 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.0079, allocations: 0 / 0.8439 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.241e-05/0.007932, allocations: 8 kB / 0.8439 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.007947, allocations: 3.984 kB / 0.8439 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.00796, allocations: 4 kB / 0.8439 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.295e-05/0.007983, allocations: 20.83 kB / 0.8439 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.1e-08/0.007983, allocations: 0 / 0.8439 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000279/0.008262, allocations: 75.86 kB / 0.844 GB, free: 8.355 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002746/0.008536, allocations: 160.2 kB / 0.8441 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.008733, allocations: 179.6 kB / 0.8443 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.008736, allocations: 0 / 0.8443 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.664e-05/0.008822, allocations: 125.9 kB / 0.8444 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.418e-05/0.008897, allocations: 11.94 kB / 0.8444 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.009144, allocations: 168 kB / 0.8446 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.661e-05/0.009181, allocations: 59.34 kB / 0.8446 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.751e-06/0.009187, allocations: 0 / 0.8446 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.111e-05/0.009278, allocations: 67.36 kB / 0.8447 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.009278, allocations: 0 / 0.8447 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of Templates: time 0.005217/0.0145, allocations: 2.381 MB / 0.847 GB, free: 5.125 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.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.368595568928868]