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.001901/0.001901, allocations: 79.78 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002354/0.002354, allocations: 162.8 kB / 22.46 MB, free: 5.359 MB / 14.72 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.506/1.506, allocations: 177.1 MB / 202.8 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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.86/2.86, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.523e-06/1.523e-06, allocations: 0 / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.823e-05, allocations: 2.281 kB / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002783/0.002811, allocations: 1.5 MB / 1.002 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.004267, allocations: 0.7556 MB / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.004317, allocations: 0 / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.004576, allocations: 135.7 kB / 1.002 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006455/0.005222, allocations: 187.4 kB / 1.003 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.005424, allocations: 75.8 kB / 1.003 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.00555, allocations: 71.8 kB / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.957e-05/0.00563, allocations: 4 kB / 1.003 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.278e-05/0.005713, allocations: 47.88 kB / 1.003 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.005857, allocations: 91.88 kB / 1.003 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.005873, allocations: 0 / 1.003 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.006348, allocations: 243.5 kB / 1.003 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.00649, allocations: 103.7 kB / 1.003 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.253e-05/0.006563, allocations: 43.8 kB / 1.003 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.007101, allocations: 351 kB / 1.004 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.007106, allocations: 3.984 kB / 1.004 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.042e-06/0.007107, allocations: 4 kB / 1.004 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.007117, allocations: 0 / 1.004 GB, free: 3.68 MB / 0.9512 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.0008282/0.007945, allocations: 0.5002 MB / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.007984, allocations: 12.03 kB / 1.004 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.866e-05/0.008052, allocations: 32.75 kB / 1.004 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.00849, allocations: 316 kB / 1.004 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.008498, allocations: 4.375 kB / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.008512, allocations: 384 / 1.004 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.008753, allocations: 90.16 kB / 1.005 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.008762, allocations: 4.188 kB / 1.005 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.008771, allocations: 384 / 1.005 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.008779, allocations: 3.938 kB / 1.005 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002453/0.009024, allocations: 107.9 kB / 1.005 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.009614, allocations: 396.5 kB / 1.005 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.009815, allocations: 102.5 kB / 1.005 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.009946, allocations: 60.89 kB / 1.005 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.111e-05/0.009997, allocations: 19.98 kB / 1.005 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.01004, allocations: 42.44 kB / 1.005 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.01004, allocations: 0 / 1.005 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0005528/0.01059, allocations: 209.4 kB / 1.005 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.01063, allocations: 55.34 kB / 1.006 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006325/0.01127, allocations: 0.5367 MB / 1.006 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.01129, allocations: 25.7 kB / 1.006 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.01142, allocations: 164.2 kB / 1.006 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.01144, allocations: 7.891 kB / 1.006 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.855e-05/0.01151, allocations: 45.66 kB / 1.006 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.01168, allocations: 342.8 kB / 1.007 GB, free: 488 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.01187, allocations: 91.94 kB / 1.007 GB, free: 396 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.01203, allocations: 95.92 kB / 1.007 GB, free: 300 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.01234, allocations: 172.7 kB / 1.007 GB, free: 124 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01234, allocations: 8 kB / 1.007 GB, free: 116 kB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004785/0.01282, allocations: 268.8 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.01284, allocations: 11.73 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01284, allocations: 0 / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.01286, allocations: 4 kB / 1.007 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.013, allocations: 27.92 kB / 1.007 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.01301, allocations: 0 / 1.007 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.736e-05/0.01308, allocations: 12 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.01309, allocations: 8 kB / 1.007 GB, free: 15.79 MB / 0.9669 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 0.0001556/0.01325, allocations: 166.3 kB / 1.007 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.0133, allocations: 35.75 kB / 1.007 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.01363, allocations: 159.9 kB / 1.008 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01364, allocations: 0 / 1.008 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01364, allocations: 3.938 kB / 1.008 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.01365, allocations: 4 kB / 1.008 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.01393, allocations: 217.2 kB / 1.008 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01393, allocations: 4.031 kB / 1.008 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.102e-05/0.014, allocations: 11.98 kB / 1.008 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01401, allocations: 0 / 1.008 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.01402, allocations: 3.938 kB / 1.008 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01402, allocations: 3.938 kB / 1.008 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01402, allocations: 0 / 1.008 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.01436, allocations: 255.3 kB / 1.008 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.566e-05/0.01444, allocations: 43.75 kB / 1.008 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.01447, allocations: 11.95 kB / 1.008 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.884e-05/0.01457, allocations: 7.984 kB / 1.008 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.01461, allocations: 3.938 kB / 1.008 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.01461, allocations: 0 / 1.008 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004495/0.01506, allocations: 403 kB / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.01506, allocations: 0 / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000383/0.01544, allocations: 83.81 kB / 1.009 GB, free: 14.34 MB / 0.9669 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.0003425/0.01579, allocations: 159.1 kB / 1.009 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.01616, allocations: 167.8 kB / 1.009 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01616, allocations: 0 / 1.009 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.01631, allocations: 51.91 kB / 1.009 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.01665, allocations: 19.84 kB / 1.009 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008283/0.01748, allocations: 0.5272 MB / 1.01 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.01767, allocations: 170.9 kB / 1.01 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.864e-05/0.01773, allocations: 34.62 kB / 1.01 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.01778, allocations: 16.5 kB / 1.01 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of SimCode: time 3.9e-07/0.01778, allocations: 0 / 1.01 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of Templates: time 0.007346/0.02512, allocations: 2.844 MB / 1.013 GB, free: 10.31 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.053167689591646]