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.0008029/0.0008029, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007917/0.0007917, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9066/0.9066, allocations: 177.1 MB / 203.5 MB, free: 5.414 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 1.804/1.804, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] 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.623e-06/1.623e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.568e-05, allocations: 6.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.001855/0.001881, allocations: 1.487 MB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000984/0.002865, allocations: 0.7564 MB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.002902, allocations: 0 / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.003102, allocations: 143.6 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.003618, allocations: 186.3 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.003744, allocations: 75.78 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.007e-05/0.003834, allocations: 71.8 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.679e-05/0.003911, allocations: 4 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.006e-05/0.003961, allocations: 51.88 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.114e-05/0.004052, allocations: 83.89 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.004064, allocations: 4 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.004353, allocations: 247.5 kB / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.004454, allocations: 107.7 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.004493, allocations: 35.8 kB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.004808, allocations: 351 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.004811, allocations: 0 / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.483e-06/0.004813, allocations: 0 / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.004817, allocations: 0 / 1.004 GB, free: 9.426 MB / 0.9636 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.0005409/0.005358, allocations: 0.508 MB / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.005391, allocations: 8.75 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.005434, allocations: 28.75 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.005757, allocations: 332 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.005768, allocations: 384 / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.005776, allocations: 384 / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.005909, allocations: 82.22 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.005915, allocations: 192 / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.005925, allocations: 4.359 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.005932, allocations: 11.94 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.006052, allocations: 107.9 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.00645, allocations: 392.5 kB / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.00658, allocations: 98.53 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.429e-05/0.006644, allocations: 60.88 kB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.006685, allocations: 15.98 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.006709, allocations: 46.5 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.00671, allocations: 0 / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002837/0.006994, allocations: 213.3 kB / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.007023, allocations: 51.41 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.007402, allocations: 0.5328 MB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.007413, allocations: 29.64 kB / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.007493, allocations: 160.1 kB / 1.007 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.007512, allocations: 15.88 kB / 1.007 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.007551, allocations: 45.73 kB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.00764, allocations: 346.8 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.813e-05/0.007738, allocations: 87.94 kB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.894e-05/0.007827, allocations: 95.94 kB / 1.008 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.00799, allocations: 183.4 kB / 1.008 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.007992, allocations: 0 / 1.008 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002461/0.008238, allocations: 269.3 kB / 1.008 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.008253, allocations: 14.28 kB / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.008258, allocations: 0 / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.008271, allocations: 0 / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.008364, allocations: 27.97 kB / 1.008 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.008369, allocations: 4 kB / 1.008 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.697e-05/0.008406, allocations: 7.938 kB / 1.008 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.008413, allocations: 4 kB / 1.008 GB, free: 5.527 MB / 0.9636 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 9.535e-05/0.008508, allocations: 169.8 kB / 1.008 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.008537, allocations: 35.75 kB / 1.008 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.008722, allocations: 163.9 kB / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.008724, allocations: 0 / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.008728, allocations: 4 kB / 1.008 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.008731, allocations: 0 / 1.008 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.00888, allocations: 213.2 kB / 1.009 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.008882, allocations: 4 kB / 1.009 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.008911, allocations: 15.92 kB / 1.009 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.008914, allocations: 4.031 kB / 1.009 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.008921, allocations: 3.938 kB / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.008923, allocations: 4 kB / 1.009 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008924, allocations: 0 / 1.009 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.009103, allocations: 251.2 kB / 1.009 GB, free: 4.613 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.009146, allocations: 43.8 kB / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.009162, allocations: 3.938 kB / 1.009 GB, free: 4.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.576e-05/0.009208, allocations: 7.984 kB / 1.009 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.009239, allocations: 4.031 kB / 1.009 GB, free: 4.555 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.009241, allocations: 0 / 1.009 GB, free: 4.555 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002732/0.009514, allocations: 403 kB / 1.009 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009514, allocations: 0 / 1.009 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002547/0.009769, allocations: 79.88 kB / 1.009 GB, free: 4.086 MB / 0.9636 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.0002371/0.01001, allocations: 167 kB / 1.01 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.01021, allocations: 159.8 kB / 1.01 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01021, allocations: 0 / 1.01 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.825e-05/0.01027, allocations: 59.91 kB / 1.01 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.01054, allocations: 13.5 kB / 1.01 GB, free: 3.688 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000568/0.0111, allocations: 0.5289 MB / 1.01 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.01121, allocations: 161.5 kB / 1.01 GB, free: 2.949 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.01124, allocations: 16.5 kB / 1.01 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of SimCode: time 4.11e-07/0.01124, allocations: 0 / 1.01 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of Templates: time 0.003957/0.0152, allocations: 3.467 MB / 1.014 GB, free: 15.48 MB / 0.9792 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: 6.667937316000462]