Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001983/0.001983, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.00209/0.00209, allocations: 194.8 kB / 22.17 MB, free: 5.656 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.484/1.484, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.767/2.767, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 59.91 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9909/0.9928, allocations: 168.7 MB / 1.274 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002615/0.9954, allocations: 0.6275 MB / 1.275 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003441/0.9989, allocations: 1.447 MB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.9989, allocations: 0 / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.373e-05/0.999, allocations: 3.938 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.668e-05/0.999, allocations: 7.938 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/1, allocations: 209.8 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/1, allocations: 31.97 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.478e-05/1, allocations: 4 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/1, allocations: 15.98 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.403e-05/1, allocations: 27.89 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/1, allocations: 0 / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006928/1.001, allocations: 255.6 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/1.001, allocations: 11.92 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/1.001, allocations: 15.94 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004811/1.002, allocations: 222 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.002, allocations: 0 / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.874e-06/1.002, allocations: 3.938 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.533e-06/1.002, allocations: 0 / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006244/1.002, allocations: 400.7 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.002, allocations: 12.03 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/1.002, allocations: 8.875 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/1.003, allocations: 176.3 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/1.003, allocations: 4.375 kB / 1.277 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/1.003, allocations: 4.375 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/1.003, allocations: 77.97 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/1.003, allocations: 4 kB / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/1.003, allocations: 0 / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/1.003, allocations: 0 / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/1.003, allocations: 39.91 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/1.003, allocations: 165.7 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/1.004, allocations: 46.56 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/1.004, allocations: 44.86 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/1.004, allocations: 0 / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/1.004, allocations: 46.42 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/1.004, allocations: 0 / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0005578/1.004, allocations: 187.2 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/1.004, allocations: 81.09 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/1.005, allocations: 118.1 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/1.005, allocations: 29.73 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/1.005, allocations: 88.14 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/1.005, allocations: 31.73 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/1.005, allocations: 17.72 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001946/1.005, allocations: 318.8 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.244e-05/1.005, allocations: 35.98 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.581e-05/1.005, allocations: 35.97 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/1.005, allocations: 140.2 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.005, allocations: 4.031 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003281/1.006, allocations: 151.4 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.814e-05/1.006, allocations: 41.62 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/1.006, allocations: 0 / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/1.006, allocations: 4 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/1.006, allocations: 0 / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/1.006, allocations: 0 / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/1.006, allocations: 15.94 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/1.006, allocations: 4 kB / 1.279 GB, free: 14.99 MB / 0.9825 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001755/1.006, allocations: 147.6 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/1.006, allocations: 11.94 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.079e-05/1.006, allocations: 4.375 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/1.006, allocations: 3.938 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.006, allocations: 0 / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.006, allocations: 4 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/1.006, allocations: 173.6 kB / 1.279 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.006, allocations: 0 / 1.279 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/1.006, allocations: 0 / 1.279 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/1.006, allocations: 3.938 kB / 1.279 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/1.006, allocations: 4 kB / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/1.006, allocations: 4 kB / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.006, allocations: 0 / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/1.007, allocations: 196.3 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.172e-05/1.007, allocations: 92.94 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/1.007, allocations: 3.984 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.674e-05/1.007, allocations: 4 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/1.007, allocations: 4 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/1.007, allocations: 8 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.05e-05/1.007, allocations: 95.3 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.007, allocations: 0 / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005374/1.008, allocations: 79.86 kB / 1.28 GB, free: 14.05 MB / 0.9825 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004524/1.008, allocations: 159.6 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004021/1.009, allocations: 167.2 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.009, allocations: 0 / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/1.009, allocations: 111.3 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/1.009, allocations: 16.12 kB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/1.01, allocations: 180.7 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/1.01, allocations: 0.6846 MB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.033e-06/1.01, allocations: 0 / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/1.01, allocations: 7.438 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/1.01, allocations: 0 / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.008008/1.018, allocations: 2.073 MB / 1.283 GB, free: 10.59 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.886105505283922]