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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 190.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.092/3.092, allocations: 495.7 MB / 0.7831 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001985/0.001985, allocations: 71.05 kB / 1.137 GB, free: 33.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3659, allocations: 173.6 MB / 1.307 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.004165/0.37, allocations: 1.482 MB / 1.308 GB, free: 396 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.3722, allocations: 0.7947 MB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.819e-05/0.3723, allocations: 0 / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004072/0.3727, allocations: 135.7 kB / 1.309 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009693/0.3736, allocations: 183.6 kB / 1.309 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.3739, allocations: 75.72 kB / 1.31 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00017/0.3741, allocations: 75.8 kB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3742, allocations: 0 / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.536e-05/0.3743, allocations: 43.88 kB / 1.31 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.3745, allocations: 95.77 kB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.3745, allocations: 4 kB / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006448/0.3752, allocations: 255.6 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.3754, allocations: 115.6 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.3755, allocations: 83.28 kB / 1.31 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005788/0.3761, allocations: 314.8 kB / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3761, allocations: 0 / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3761, allocations: 0 / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.3761, allocations: 0 / 1.311 GB, free: 14.23 MB / 1.014 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.001052/0.3771, allocations: 0.5002 MB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.3772, allocations: 12.03 kB / 1.311 GB, free: 13.69 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.603e-05/0.3773, allocations: 36.69 kB / 1.311 GB, free: 13.65 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005323/0.3778, allocations: 324.8 kB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.3778, allocations: 8.297 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.3778, allocations: 384 / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.3781, allocations: 89.97 kB / 1.311 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3781, allocations: 0 / 1.311 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.3781, allocations: 3.938 kB / 1.311 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3781, allocations: 0 / 1.311 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.3784, allocations: 103.9 kB / 1.312 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007594/0.3792, allocations: 439.8 kB / 1.312 GB, free: 12.63 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.3795, allocations: 102.5 kB / 1.312 GB, free: 12.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.3796, allocations: 56.89 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.341e-05/0.3797, allocations: 31.73 kB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.3797, allocations: 30.56 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.3797, allocations: 0 / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0006511/0.3804, allocations: 205.4 kB / 1.312 GB, free: 12.19 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.3804, allocations: 55.34 kB / 1.312 GB, free: 12.12 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008939/0.3813, allocations: 0.5484 MB / 1.313 GB, free: 11.56 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.3814, allocations: 25.7 kB / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.3815, allocations: 156.1 kB / 1.313 GB, free: 11.38 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.3815, allocations: 3.953 kB / 1.313 GB, free: 11.37 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.3816, allocations: 41.7 kB / 1.313 GB, free: 11.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002279/0.3819, allocations: 346.8 kB / 1.314 GB, free: 10.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.3821, allocations: 91.94 kB / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.3823, allocations: 102.1 kB / 1.314 GB, free: 10.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.3827, allocations: 172.7 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3828, allocations: 0 / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006105/0.3834, allocations: 275.4 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3834, allocations: 4 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3834, allocations: 3.938 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3834, allocations: 4 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.3836, allocations: 27.98 kB / 1.314 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3836, allocations: 0 / 1.314 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.3837, allocations: 15.92 kB / 1.314 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.3837, allocations: 7.938 kB / 1.314 GB, free: 10.28 MB / 1.014 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.0002114/0.3839, allocations: 173.7 kB / 1.314 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/0.384, allocations: 27.81 kB / 1.314 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004427/0.3845, allocations: 171.8 kB / 1.315 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3845, allocations: 0 / 1.315 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3845, allocations: 0 / 1.315 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3845, allocations: 0 / 1.315 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.3849, allocations: 248.6 kB / 1.315 GB, free: 9.609 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3849, allocations: 3.938 kB / 1.315 GB, free: 9.605 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/0.3849, allocations: 11.98 kB / 1.315 GB, free: 9.594 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3849, allocations: 0 / 1.315 GB, free: 9.594 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.385, allocations: 0 / 1.315 GB, free: 9.594 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.385, allocations: 3.984 kB / 1.315 GB, free: 9.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.385, allocations: 4.031 kB / 1.315 GB, free: 9.586 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/0.3854, allocations: 267.2 kB / 1.315 GB, free: 9.309 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.3856, allocations: 35.8 kB / 1.315 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.3856, allocations: 0 / 1.315 GB, free: 9.273 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.3857, allocations: 11.98 kB / 1.315 GB, free: 9.262 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.3858, allocations: 8.031 kB / 1.315 GB, free: 9.254 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3858, allocations: 0 / 1.315 GB, free: 9.254 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006307/0.3864, allocations: 403 kB / 1.315 GB, free: 8.867 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3864, allocations: 0 / 1.315 GB, free: 8.867 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005577/0.387, allocations: 79.89 kB / 1.316 GB, free: 8.789 MB / 1.014 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.0003813/0.3874, allocations: 150.8 kB / 1.316 GB, free: 8.633 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004984/0.3879, allocations: 167.8 kB / 1.316 GB, free: 8.469 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3879, allocations: 0 / 1.316 GB, free: 8.469 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.388, allocations: 47.97 kB / 1.316 GB, free: 8.422 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.3885, allocations: 27.62 kB / 1.316 GB, free: 8.395 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.3897, allocations: 0.5239 MB / 1.316 GB, free: 7.848 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006009/0.3903, allocations: 0.7788 MB / 1.317 GB, free: 7.043 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.319e-05/0.3904, allocations: 34.62 kB / 1.317 GB, free: 7.012 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.3905, allocations: 15.44 kB / 1.317 GB, free: 6.996 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.3905, allocations: 4 kB / 1.317 GB, free: 6.992 MB / 1.014 GB Notification: Performance of Templates: time 0.009466/0.3999, allocations: 2.807 MB / 1.32 GB, free: 4.184 MB / 1.014 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.770002623088658]