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.001146/0.001146, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001115/0.001115, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9863/0.9863, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.08/2.08, allocations: 429.5 MB / 0.6733 GB, free: 4.012 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.603e-06/1.603e-06, allocations: 0 / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.782e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002631/0.002659, allocations: 1.559 MB / 0.8798 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.003889, allocations: 0.744 MB / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.003936, allocations: 0.625 kB / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.004193, allocations: 131.2 kB / 0.8806 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.004306, allocations: 71.77 kB / 0.8807 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006875/0.004993, allocations: 188.5 kB / 0.8809 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.005115, allocations: 64.83 kB / 0.8809 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.005158, allocations: 7.969 kB / 0.8809 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.00526, allocations: 44.55 kB / 0.881 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.005386, allocations: 79.89 kB / 0.881 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.005403, allocations: 0.875 kB / 0.881 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005485/0.005951, allocations: 243.5 kB / 0.8813 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.741e-05/0.006049, allocations: 68.92 kB / 0.8813 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.006095, allocations: 27.86 kB / 0.8814 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.006539, allocations: 295.2 kB / 0.8816 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.006542, allocations: 1.531 kB / 0.8816 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.272e-06/0.006544, allocations: 0 / 0.8816 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.006549, allocations: 4 kB / 0.8817 GB, free: 2.762 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.0006547/0.007204, allocations: 0.5381 MB / 0.8822 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.007249, allocations: 9 kB / 0.8822 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.261e-05/0.007311, allocations: 24.78 kB / 0.8822 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.007535, allocations: 185.6 kB / 0.8824 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.007548, allocations: 4.375 kB / 0.8824 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.007558, allocations: 4.375 kB / 0.8824 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.007691, allocations: 50.89 kB / 0.8824 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.007699, allocations: 192 / 0.8824 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.007708, allocations: 384 / 0.8824 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.007717, allocations: 3.938 kB / 0.8824 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.887e-05/0.007746, allocations: 7.984 kB / 0.8825 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.008215, allocations: 343.6 kB / 0.8828 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.868e-05/0.008283, allocations: 31.05 kB / 0.8828 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.008308, allocations: 11.75 kB / 0.8828 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.456e-05/0.008362, allocations: 19.98 kB / 0.8828 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.008388, allocations: 41.33 kB / 0.8829 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.008389, allocations: 0 / 0.8829 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001899/0.008579, allocations: 57.5 kB / 0.8829 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.008613, allocations: 59.39 kB / 0.883 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.008904, allocations: 358.3 kB / 0.8833 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.008917, allocations: 29.7 kB / 0.8834 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.009017, allocations: 190.8 kB / 0.8835 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.009031, allocations: 11.94 kB / 0.8836 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.009078, allocations: 27.38 kB / 0.8836 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.009229, allocations: 0.5197 MB / 0.8841 GB, free: 68 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-05/0.009261, allocations: 16 kB / 0.8841 GB, free: 52 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.451e-05/0.009285, allocations: 19.98 kB / 0.8841 GB, free: 32 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.161e-05/0.009367, allocations: 55.73 kB / 0.8842 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.009369, allocations: 0 / 0.8842 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001337/0.009503, allocations: 108.5 kB / 0.8843 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.009519, allocations: 11.94 kB / 0.8843 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.009525, allocations: 0 / 0.8843 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.009539, allocations: 0 / 0.8843 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.865e-05/0.009608, allocations: 4 kB / 0.8843 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.009613, allocations: 4 kB / 0.8843 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.791e-05/0.009651, allocations: 15.84 kB / 0.8843 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.009657, allocations: 0 / 0.8843 GB, free: 15.83 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 0.0001996/0.009857, allocations: 160.6 kB / 0.8845 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.009898, allocations: 23.8 kB / 0.8845 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.01001, allocations: 58.72 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01001, allocations: 0 / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.01002, allocations: 0 / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01003, allocations: 3.938 kB / 0.8846 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.01022, allocations: 196.6 kB / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.01022, allocations: 4 kB / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.01025, allocations: 4 kB / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.01026, allocations: 0 / 0.8847 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.01026, allocations: 3.938 kB / 0.8848 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01027, allocations: 0 / 0.8848 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.01027, allocations: 4 kB / 0.8848 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.0104, allocations: 203.8 kB / 0.8849 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.01044, allocations: 19.86 kB / 0.885 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.01046, allocations: 11.92 kB / 0.885 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.679e-05/0.01052, allocations: 7.969 kB / 0.885 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.01055, allocations: 4.078 kB / 0.885 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.01056, allocations: 0 / 0.885 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001686/0.01073, allocations: 239 kB / 0.8852 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.01073, allocations: 4 kB / 0.8852 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003755/0.0111, allocations: 55.94 kB / 0.8853 GB, free: 14.77 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.0003036/0.0114, allocations: 163.1 kB / 0.8854 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.01154, allocations: 43.67 kB / 0.8855 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01154, allocations: 0 / 0.8855 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.13e-05/0.01156, allocations: 15.69 kB / 0.8855 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.01186, allocations: 12.66 kB / 0.8855 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007637/0.01263, allocations: 338.7 kB / 0.8858 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.955e-05/0.01269, allocations: 83.3 kB / 0.8859 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.363e-05/0.01274, allocations: 12.48 kB / 0.8859 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.01277, allocations: 12.5 kB / 0.8859 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of SimCode: time 8.22e-07/0.01277, allocations: 0 / 0.8859 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of Templates: time 0.005607/0.01838, allocations: 2.264 MB / 0.8881 GB, free: 11.78 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.130319412797689]