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.001446/0.001446, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001603/0.001603, allocations: 157.8 kB / 23.01 MB, free: 4.605 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.419/1.419, allocations: 177.2 MB / 203.4 MB, free: 9 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.872/2.872, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 63.89 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.8111, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002388/0.8135, allocations: 1.496 MB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.8149, allocations: 0.7672 MB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.522e-05/0.8149, allocations: 1.562 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.8152, allocations: 127.9 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0006156/0.8158, allocations: 189.3 kB / 1.189 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.816, allocations: 77.33 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.8161, allocations: 68.81 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.812e-05/0.8161, allocations: 3.5 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.394e-05/0.8162, allocations: 43.81 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.8163, allocations: 89.69 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.8164, allocations: 2.031 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004476/0.8168, allocations: 236.5 kB / 1.19 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.8169, allocations: 113.3 kB / 1.19 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.817, allocations: 63.86 kB / 1.19 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.8174, allocations: 326.9 kB / 1.19 GB, free: 14.31 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8174, allocations: 1.406 kB / 1.19 GB, free: 14.31 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8174, allocations: 0.6094 kB / 1.19 GB, free: 14.31 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.8174, allocations: 0 / 1.19 GB, free: 14.31 MB / 1.076 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.0006493/0.8181, allocations: 0.5007 MB / 1.191 GB, free: 13.89 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.8181, allocations: 9.125 kB / 1.191 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.8182, allocations: 33.67 kB / 1.191 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.8185, allocations: 320.4 kB / 1.191 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.8185, allocations: 6.156 kB / 1.191 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.8185, allocations: 5.5 kB / 1.191 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.8187, allocations: 86.08 kB / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.8187, allocations: 0 / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.8187, allocations: 5.766 kB / 1.191 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.8187, allocations: 3.938 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.819, allocations: 98.58 kB / 1.191 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.8194, allocations: 398 kB / 1.192 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.8196, allocations: 109.3 kB / 1.192 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.8197, allocations: 57.06 kB / 1.192 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.078e-05/0.8198, allocations: 18.84 kB / 1.192 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.8198, allocations: 36.27 kB / 1.192 GB, free: 13.26 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.8198, allocations: 0 / 1.192 GB, free: 13.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0004519/0.8203, allocations: 213.2 kB / 1.192 GB, free: 13.19 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.8203, allocations: 53.23 kB / 1.192 GB, free: 13.12 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005526/0.8208, allocations: 0.5359 MB / 1.192 GB, free: 12.92 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/0.8208, allocations: 25.7 kB / 1.193 GB, free: 12.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.094e-05/0.8209, allocations: 158.7 kB / 1.193 GB, free: 12.76 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.821, allocations: 14.64 kB / 1.193 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.821, allocations: 39.66 kB / 1.193 GB, free: 12.72 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.856e-05/0.8211, allocations: 347.5 kB / 1.193 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.8212, allocations: 90.89 kB / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.8214, allocations: 104.1 kB / 1.193 GB, free: 12.35 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.8217, allocations: 176.5 kB / 1.193 GB, free: 12.3 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8217, allocations: 0 / 1.193 GB, free: 12.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004147/0.8221, allocations: 273.3 kB / 1.194 GB, free: 12.21 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.8221, allocations: 5.344 kB / 1.194 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.8221, allocations: 0 / 1.194 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.8222, allocations: 1.875 kB / 1.194 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.8223, allocations: 39.08 kB / 1.194 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.8223, allocations: 0 / 1.194 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.272e-05/0.8224, allocations: 7.234 kB / 1.194 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.8224, allocations: 3.094 kB / 1.194 GB, free: 12.2 MB / 1.076 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.000112/0.8225, allocations: 168.8 kB / 1.194 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.8225, allocations: 28.66 kB / 1.194 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.8228, allocations: 175.2 kB / 1.194 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.8228, allocations: 0 / 1.194 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8229, allocations: 9.156 kB / 1.194 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8229, allocations: 0.5156 kB / 1.194 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.8231, allocations: 212.2 kB / 1.194 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.8231, allocations: 3.938 kB / 1.194 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.8231, allocations: 12.23 kB / 1.194 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.8231, allocations: 1.891 kB / 1.194 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.8231, allocations: 0 / 1.194 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8231, allocations: 1.062 kB / 1.194 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8231, allocations: 0.7969 kB / 1.194 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.8234, allocations: 260.2 kB / 1.195 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.071e-05/0.8235, allocations: 43.22 kB / 1.195 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.8235, allocations: 0 / 1.195 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.48e-05/0.8236, allocations: 6.469 kB / 1.195 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.8237, allocations: 7.453 kB / 1.195 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.8237, allocations: 0 / 1.195 GB, free: 11.63 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003816/0.8241, allocations: 401.1 kB / 1.195 GB, free: 11.48 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8241, allocations: 1.156 kB / 1.195 GB, free: 11.48 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000391/0.8244, allocations: 84.31 kB / 1.195 GB, free: 11.46 MB / 1.076 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.0002489/0.8247, allocations: 151.2 kB / 1.195 GB, free: 11.36 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.825, allocations: 162.1 kB / 1.195 GB, free: 11.33 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.825, allocations: 0 / 1.195 GB, free: 11.33 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.8252, allocations: 52.44 kB / 1.195 GB, free: 11.32 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.8254, allocations: 28.16 kB / 1.195 GB, free: 11.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000684/0.8261, allocations: 0.532 MB / 1.196 GB, free: 11.03 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.8263, allocations: 169.8 kB / 1.196 GB, free: 10.95 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.541e-05/0.8264, allocations: 35.62 kB / 1.196 GB, free: 10.94 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.8264, allocations: 18.97 kB / 1.196 GB, free: 10.93 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.8264, allocations: 0 / 1.196 GB, free: 10.93 MB / 1.076 GB Notification: Performance of Templates: time 0.006908/0.8333, allocations: 2.852 MB / 1.199 GB, free: 10.64 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.460799485910684]