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.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.001348/0.001348, allocations: 81.39 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.00157/0.00157, allocations: 162.5 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.436/1.436, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.753/2.753, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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 1.433e-06/1.433e-06, allocations: 0 / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.331e-05, allocations: 2.281 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001491/0.001515, allocations: 0.6251 MB / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002138/0.003653, allocations: 1.432 MB / 0.953 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.003675, allocations: 0 / 0.953 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.698e-05/0.003732, allocations: 0 / 0.953 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.426e-05/0.003766, allocations: 3.938 kB / 0.953 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007182/0.004485, allocations: 211.5 kB / 0.9532 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.193e-05/0.004567, allocations: 43.89 kB / 0.9533 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.063e-05/0.004597, allocations: 0 / 0.9533 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.476e-05/0.004642, allocations: 19.98 kB / 0.9533 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.004692, allocations: 23.91 kB / 0.9533 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.004707, allocations: 0 / 0.9533 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004575/0.005164, allocations: 263.5 kB / 0.9536 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.579e-05/0.0052, allocations: 15.94 kB / 0.9536 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.005237, allocations: 11.97 kB / 0.9536 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.005621, allocations: 263.4 kB / 0.9538 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.005623, allocations: 0 / 0.9538 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005623, allocations: 3.938 kB / 0.9539 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.005627, allocations: 0 / 0.9539 GB, free: 8.617 MB / 0.8575 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.0004184/0.006045, allocations: 327.6 kB / 0.9542 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.006078, allocations: 12.03 kB / 0.9542 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.006116, allocations: 4.891 kB / 0.9542 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.006229, allocations: 113.7 kB / 0.9543 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.006241, allocations: 4.375 kB / 0.9543 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.006251, allocations: 4.375 kB / 0.9543 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.006425, allocations: 111.8 kB / 0.9544 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.006434, allocations: 192 / 0.9544 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.006443, allocations: 384 / 0.9544 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.006448, allocations: 7.938 kB / 0.9544 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.689e-05/0.006535, allocations: 65.67 kB / 0.9545 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.006664, allocations: 109.3 kB / 0.9546 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.006776, allocations: 80.25 kB / 0.9547 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.09e-05/0.006857, allocations: 70.56 kB / 0.9547 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.006865, allocations: 0 / 0.9547 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.006899, allocations: 46.48 kB / 0.9548 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.0069, allocations: 0 / 0.9548 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003652/0.007265, allocations: 250.7 kB / 0.955 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.007331, allocations: 85.05 kB / 0.9551 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.825e-05/0.007419, allocations: 114.1 kB / 0.9552 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.007439, allocations: 25.7 kB / 0.9552 GB, free: 7.016 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.007485, allocations: 92.08 kB / 0.9553 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.007523, allocations: 23.73 kB / 0.9553 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.007566, allocations: 21.72 kB / 0.9554 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.007701, allocations: 322.8 kB / 0.9557 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-05/0.007785, allocations: 69.7 kB / 0.9557 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.523e-05/0.00786, allocations: 69.61 kB / 0.9558 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.008034, allocations: 144.3 kB / 0.9559 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.008036, allocations: 4 kB / 0.9559 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000216/0.008252, allocations: 173 kB / 0.9561 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.008294, allocations: 41.69 kB / 0.9561 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.008298, allocations: 0 / 0.9561 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.00831, allocations: 0 / 0.9561 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.00831, allocations: 0 / 0.9561 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.008318, allocations: 7.938 kB / 0.9561 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.907e-05/0.008397, allocations: 11.98 kB / 0.9562 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.008417, allocations: 8.062 kB / 0.9562 GB, free: 5.977 MB / 0.8575 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.0001114/0.008529, allocations: 151.5 kB / 0.9563 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.008547, allocations: 7.953 kB / 0.9563 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.254e-05/0.00856, allocations: 8.422 kB / 0.9563 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.008561, allocations: 7.875 kB / 0.9563 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.008566, allocations: 3.938 kB / 0.9563 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.008568, allocations: 0 / 0.9563 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.84e-05/0.008656, allocations: 109.3 kB / 0.9564 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.008657, allocations: 4 kB / 0.9564 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.008658, allocations: 0 / 0.9564 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.008659, allocations: 4 kB / 0.9564 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.008671, allocations: 4 kB / 0.9565 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.008672, allocations: 0 / 0.9565 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.008672, allocations: 0 / 0.9565 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.008953, allocations: 232.3 kB / 0.9567 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.008964, allocations: 11.89 kB / 0.9567 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.008981, allocations: 4 kB / 0.9567 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.009017, allocations: 4 kB / 0.9567 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.009036, allocations: 7.984 kB / 0.9567 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.009058, allocations: 11.94 kB / 0.9567 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.819e-05/0.009116, allocations: 87.27 kB / 0.9568 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.009116, allocations: 7.969 kB / 0.9568 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002995/0.009415, allocations: 75.88 kB / 0.9569 GB, free: 5.172 MB / 0.8575 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.0003162/0.009732, allocations: 171.1 kB / 0.957 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.01003, allocations: 226.7 kB / 0.9573 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01003, allocations: 0 / 0.9573 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.01018, allocations: 149 kB / 0.9574 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.01033, allocations: 4 kB / 0.9574 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.01066, allocations: 202.4 kB / 0.9576 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.549e-05/0.01073, allocations: 75.41 kB / 0.9577 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.629e-06/0.01073, allocations: 0 / 0.9577 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.362e-05/0.01075, allocations: 12.48 kB / 0.9577 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of SimCode: time 3.9e-07/0.01075, allocations: 0 / 0.9577 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of Templates: time 0.005138/0.01588, allocations: 2.112 MB / 0.9597 GB, free: 2.152 MB / 0.8575 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.644451107829809]