Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001806/0.001806, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002419/0.002419, allocations: 215.4 kB / 23 MB, free: 4.965 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.752/1.752, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.352/3.352, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 66.34 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3875, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001983/0.3895, allocations: 0.6179 MB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002358/0.3919, allocations: 1.44 MB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.3919, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.338e-05/0.392, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.758e-05/0.392, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008097/0.3928, allocations: 219.5 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.923e-05/0.3929, allocations: 35.97 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.3929, allocations: 15.86 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.393, allocations: 15.94 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/0.393, allocations: 27.95 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.3931, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005102/0.3936, allocations: 271.6 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.3936, allocations: 15.91 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.3937, allocations: 7.938 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.394, allocations: 227.3 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.394, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.505e-06/0.394, allocations: 4 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.394, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 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.0004897/0.3945, allocations: 329.5 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3945, allocations: 8.031 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.3946, allocations: 4.938 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3947, allocations: 114.5 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.3947, allocations: 4.359 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.3947, allocations: 4.375 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.395, allocations: 107.7 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.395, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.395, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.395, allocations: 4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.669e-05/0.3951, allocations: 69.61 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.3952, allocations: 113.2 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.3954, allocations: 80.25 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.3955, allocations: 74.56 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-06/0.3955, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.3956, allocations: 34.56 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.3956, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.000417/0.396, allocations: 266.5 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.396, allocations: 77.11 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3961, allocations: 118.1 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.3962, allocations: 25.7 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.3962, allocations: 88.12 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.3963, allocations: 15.86 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.3963, allocations: 25.7 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.3965, allocations: 318.8 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.644e-05/0.3966, allocations: 69.61 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.422e-05/0.3967, allocations: 65.98 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.3969, allocations: 148.3 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.3969, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002482/0.3971, allocations: 193.1 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/0.3972, allocations: 41.7 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3972, allocations: 3.938 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3972, allocations: 3.938 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.206e-06/0.3972, allocations: 3.984 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3972, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.3974, allocations: 11.94 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.3974, allocations: 4 kB / 1.332 GB, free: 11.42 MB / 1.029 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.000202/0.3976, allocations: 152 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.3976, allocations: 11.95 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.937e-05/0.3977, allocations: 8.312 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3977, allocations: 4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3977, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.3977, allocations: 7.953 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.3977, allocations: 0 / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.824e-05/0.3977, allocations: 11.98 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.3977, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003305/0.3981, allocations: 335.6 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003528/0.3984, allocations: 378.1 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001017/0.3985, allocations: 77.67 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.664e-05/0.3986, allocations: 87.27 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of Backend: time 2.8e-07/0.3986, allocations: 4.062 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007552/0.3993, allocations: 293.4 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006817/0.4, allocations: 0.6533 MB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of Templates: time 0.005676/0.4057, allocations: 2.178 MB / 1.336 GB, free: 7.094 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.69224872799532]