Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001397/0.001397, allocations: 79.75 kB / 19.18 MB, free: 2.516 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.001478/0.001478, allocations: 163 kB / 22.46 MB, free: 5.375 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.562/1.562, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.9/2.9, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.108e-05/3.297e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003037/0.00307, allocations: 1.49 MB / 0.9829 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.004588, allocations: 0.7556 MB / 0.9836 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.004638, allocations: 0 / 0.9836 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.004941, allocations: 135.7 kB / 0.9837 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007056/0.005647, allocations: 193.3 kB / 0.9839 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.005875, allocations: 71.8 kB / 0.984 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.006022, allocations: 71.73 kB / 0.9841 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.006126, allocations: 8 kB / 0.9841 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.706e-05/0.006223, allocations: 43.92 kB / 0.9841 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.00637, allocations: 87.83 kB / 0.9842 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.006389, allocations: 4 kB / 0.9842 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005277/0.006917, allocations: 243.6 kB / 0.9844 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.00706, allocations: 103.8 kB / 0.9845 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.955e-05/0.00713, allocations: 43.8 kB / 0.9846 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000589/0.007719, allocations: 355 kB / 0.9849 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.007722, allocations: 3.938 kB / 0.9849 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.22e-07/0.007723, allocations: 0 / 0.9849 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.007729, allocations: 0 / 0.9849 GB, free: 8.395 MB / 0.9356 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.0008514/0.00858, allocations: 0.5079 MB / 0.9854 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.008621, allocations: 8.031 kB / 0.9854 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.416e-05/0.008695, allocations: 36.7 kB / 0.9855 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.00912, allocations: 316 kB / 0.9858 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.009134, allocations: 4.359 kB / 0.9858 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.009145, allocations: 12.36 kB / 0.9858 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.009407, allocations: 82.23 kB / 0.9859 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.009415, allocations: 192 / 0.9859 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.009427, allocations: 4.359 kB / 0.9859 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.009433, allocations: 3.938 kB / 0.9859 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.009674, allocations: 95.94 kB / 0.986 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005924/0.01027, allocations: 400.4 kB / 0.9863 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.01048, allocations: 114.5 kB / 0.9864 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.0106, allocations: 48.89 kB / 0.9865 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.051e-05/0.01066, allocations: 23.98 kB / 0.9865 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.01069, allocations: 38.5 kB / 0.9866 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.01069, allocations: 0 / 0.9866 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0005051/0.0112, allocations: 217.3 kB / 0.9868 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.01124, allocations: 51.53 kB / 0.9868 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.01191, allocations: 0.5366 MB / 0.9873 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.01193, allocations: 33.69 kB / 0.9874 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.01206, allocations: 160 kB / 0.9875 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.01208, allocations: 11.89 kB / 0.9875 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.01215, allocations: 37.7 kB / 0.9876 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.01233, allocations: 338.8 kB / 0.9879 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.01252, allocations: 99.92 kB / 0.988 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.0127, allocations: 91.94 kB / 0.9881 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.01302, allocations: 172.8 kB / 0.9882 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01302, allocations: 0 / 0.9882 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004657/0.01349, allocations: 280.3 kB / 0.9885 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.01351, allocations: 11.88 kB / 0.9885 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01351, allocations: 0 / 0.9885 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.01352, allocations: 0 / 0.9885 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.01367, allocations: 27.98 kB / 0.9885 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.01368, allocations: 3.938 kB / 0.9885 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.97e-05/0.01377, allocations: 19.94 kB / 0.9886 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.01378, allocations: 4 kB / 0.9886 GB, free: 4.488 MB / 0.9356 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.0001598/0.01394, allocations: 165.7 kB / 0.9887 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.01399, allocations: 31.75 kB / 0.9888 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.01435, allocations: 171.9 kB / 0.9889 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01436, allocations: 0 / 0.9889 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01436, allocations: 0 / 0.9889 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.01436, allocations: 4.031 kB / 0.9889 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.01463, allocations: 213.2 kB / 0.9891 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01463, allocations: 0 / 0.9891 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.468e-05/0.01469, allocations: 8 kB / 0.9891 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01469, allocations: 0 / 0.9891 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.0147, allocations: 3.938 kB / 0.9891 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.01471, allocations: 3.938 kB / 0.9891 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.01471, allocations: 3.984 kB / 0.9891 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.01508, allocations: 255.3 kB / 0.9894 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.01515, allocations: 35.8 kB / 0.9894 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.01518, allocations: 7.938 kB / 0.9894 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.01528, allocations: 3.984 kB / 0.9894 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.01532, allocations: 4 kB / 0.9894 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.01533, allocations: 8 kB / 0.9894 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004763/0.0158, allocations: 399 kB / 0.9898 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.0158, allocations: 0 / 0.9898 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000403/0.01621, allocations: 83.86 kB / 0.9899 GB, free: 3.059 MB / 0.9356 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.0003456/0.01655, allocations: 159.2 kB / 0.9901 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003734/0.01693, allocations: 167.8 kB / 0.9902 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.01693, allocations: 0 / 0.9902 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.01705, allocations: 51.97 kB / 0.9903 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.0174, allocations: 13.5 kB / 0.9903 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008805/0.01828, allocations: 0.535 MB / 0.9908 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.01847, allocations: 173.7 kB / 0.991 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.657e-05/0.01854, allocations: 38.62 kB / 0.991 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.714e-05/0.01863, allocations: 16.5 kB / 0.991 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.01863, allocations: 0 / 0.991 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of Templates: time 0.007636/0.02626, allocations: 2.856 MB / 0.9938 GB, free: 15.04 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.227701045572758]