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.001322/0.001322, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001455/0.001455, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 0.9624/0.9624, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.111/2.111, allocations: 429.5 MB / 0.6743 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 1.693e-06/1.693e-06, allocations: 0 / 0.8794 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.097e-05, allocations: 2.312 kB / 0.8795 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.00194/0.001961, allocations: 1.557 MB / 0.881 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002973, allocations: 0.7375 MB / 0.8817 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.00301, allocations: 0 / 0.8817 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.003221, allocations: 137.4 kB / 0.8818 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.047e-05/0.003302, allocations: 65.09 kB / 0.8819 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.003788, allocations: 189.4 kB / 0.8821 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.461e-05/0.003882, allocations: 64.94 kB / 0.8821 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.003919, allocations: 4 kB / 0.8821 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.822e-05/0.003997, allocations: 51.86 kB / 0.8822 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.013e-05/0.004087, allocations: 81.02 kB / 0.8823 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.0041, allocations: 0 / 0.8823 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.004392, allocations: 239.6 kB / 0.8825 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.01e-05/0.004472, allocations: 68.77 kB / 0.8826 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.004503, allocations: 27.88 kB / 0.8826 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.004783, allocations: 303.1 kB / 0.8829 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004785, allocations: 0.7188 kB / 0.8829 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.21e-07/0.004785, allocations: 0 / 0.8829 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004789, allocations: 0.5 kB / 0.8829 GB, free: 2.453 MB / 0.8386 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.0004824/0.005272, allocations: 0.5318 MB / 0.8834 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.005306, allocations: 8.031 kB / 0.8834 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.005345, allocations: 20.8 kB / 0.8834 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.005516, allocations: 180.8 kB / 0.8836 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.005526, allocations: 4.938 kB / 0.8836 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.005534, allocations: 5.781 kB / 0.8836 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.639e-05/0.005631, allocations: 50.94 kB / 0.8836 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.005639, allocations: 192 / 0.8836 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.005645, allocations: 384 / 0.8836 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.005651, allocations: 9.062 kB / 0.8837 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.00567, allocations: 4 kB / 0.8837 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.005934, allocations: 293.6 kB / 0.8839 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.377e-05/0.005977, allocations: 27.06 kB / 0.884 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.005994, allocations: 11.75 kB / 0.884 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.006029, allocations: 19.42 kB / 0.884 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.006051, allocations: 37.33 kB / 0.884 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.006052, allocations: 3.938 kB / 0.884 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001196/0.006172, allocations: 61.48 kB / 0.8841 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.006201, allocations: 55.41 kB / 0.8841 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.006396, allocations: 350.2 kB / 0.8845 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.006406, allocations: 25.7 kB / 0.8845 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.006489, allocations: 198.7 kB / 0.8847 GB, free: 432 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.0065, allocations: 5.016 kB / 0.8847 GB, free: 428 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.006534, allocations: 39.34 kB / 0.8847 GB, free: 380 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.006681, allocations: 0.5119 MB / 0.8852 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.0067, allocations: 16 kB / 0.8853 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.395e-05/0.006714, allocations: 12 kB / 0.8853 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.659e-05/0.006761, allocations: 59.59 kB / 0.8853 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.006762, allocations: 0 / 0.8853 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.487e-05/0.006847, allocations: 96.73 kB / 0.8854 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.00686, allocations: 10.33 kB / 0.8854 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.006866, allocations: 3.938 kB / 0.8854 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.076e-06/0.006874, allocations: 0 / 0.8854 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.581e-05/0.00691, allocations: 4 kB / 0.8854 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-06/0.006913, allocations: 4 kB / 0.8854 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.435e-05/0.006937, allocations: 15.84 kB / 0.8854 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.006941, allocations: 0 / 0.8854 GB, free: 15.62 MB / 0.8542 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 6.98e-05/0.007011, allocations: 160.5 kB / 0.8856 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.007032, allocations: 19.86 kB / 0.8856 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.216e-05/0.007105, allocations: 62.7 kB / 0.8857 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.007106, allocations: 0 / 0.8857 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.007108, allocations: 0 / 0.8857 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.007111, allocations: 0 / 0.8857 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.007232, allocations: 149.2 kB / 0.8858 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007233, allocations: 8.031 kB / 0.8858 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-05/0.007245, allocations: 0 / 0.8858 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.007248, allocations: 4 kB / 0.8858 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.007252, allocations: 0 / 0.8858 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.007252, allocations: 0 / 0.8858 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.007254, allocations: 3.938 kB / 0.8858 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.007362, allocations: 207.7 kB / 0.886 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.007383, allocations: 19.86 kB / 0.8861 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.007395, allocations: 7.922 kB / 0.8861 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.833e-05/0.007423, allocations: 0 / 0.8861 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.007453, allocations: 11.97 kB / 0.8861 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-06/0.007455, allocations: 0 / 0.8861 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001075/0.007562, allocations: 226.9 kB / 0.8863 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007562, allocations: 4 kB / 0.8863 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002068/0.007769, allocations: 55.94 kB / 0.8863 GB, free: 14.64 MB / 0.8542 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.000194/0.007963, allocations: 163.1 kB / 0.8865 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.649e-05/0.00805, allocations: 43.66 kB / 0.8865 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.82e-07/0.00805, allocations: 3.938 kB / 0.8865 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.437e-05/0.008065, allocations: 15.69 kB / 0.8866 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.008242, allocations: 8.656 kB / 0.8866 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.008696, allocations: 334.7 kB / 0.8869 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.631e-05/0.008742, allocations: 83.3 kB / 0.887 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.057e-05/0.008773, allocations: 12.48 kB / 0.887 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.008818, allocations: 74.2 kB / 0.8871 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of SimCode: time 5.61e-07/0.008819, allocations: 0 / 0.8871 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of Templates: time 0.004/0.01282, allocations: 2.303 MB / 0.8893 GB, free: 11.55 MB / 0.8542 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.329536967910826]