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.0008088/0.0008088, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008938/0.0008938, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9083/0.9083, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.685/1.685, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9505 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.234e-05, allocations: 10.22 kB / 0.9506 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001235/0.001257, allocations: 0.6136 MB / 0.9512 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.002878, allocations: 1.436 MB / 0.9526 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.002908, allocations: 0 / 0.9526 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 6.613e-05/0.002974, allocations: 3.938 kB / 0.9526 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.934e-05/0.003013, allocations: 4 kB / 0.9526 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006981/0.003711, allocations: 218.3 kB / 0.9528 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.446e-05/0.003796, allocations: 39.91 kB / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.003838, allocations: 0 / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.844e-05/0.003886, allocations: 23.95 kB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.003934, allocations: 19.92 kB / 0.9529 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.003946, allocations: 0 / 0.9529 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003478/0.004294, allocations: 267.5 kB / 0.9531 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.131e-05/0.004336, allocations: 8 kB / 0.9531 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.004365, allocations: 11.94 kB / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.004636, allocations: 263.4 kB / 0.9534 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.004639, allocations: 0 / 0.9534 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.322e-06/0.00464, allocations: 0 / 0.9534 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.004644, allocations: 4 kB / 0.9534 GB, free: 0.5195 MB / 0.9011 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.0003282/0.004972, allocations: 331.5 kB / 0.9537 GB, free: 164 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.005014, allocations: 8.031 kB / 0.9537 GB, free: 156 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.7e-05/0.005041, allocations: 34.75 kB / 0.9537 GB, free: 112 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.005069, allocations: 8.891 kB / 0.9537 GB, free: 104 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.202e-05/0.005161, allocations: 117.7 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.005173, allocations: 4.375 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.005183, allocations: 384 / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.005337, allocations: 103.9 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.005344, allocations: 192 / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.005355, allocations: 8.125 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.005359, allocations: 0 / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.499e-05/0.005414, allocations: 65.67 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.00553, allocations: 136.7 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.681e-05/0.005607, allocations: 84.19 kB / 0.9542 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.005659, allocations: 70.56 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.005666, allocations: 4 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.005686, allocations: 30.56 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.005687, allocations: 0 / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.00027/0.005957, allocations: 266.7 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.005994, allocations: 81.11 kB / 0.9547 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.533e-05/0.006059, allocations: 114.1 kB / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.00607, allocations: 29.7 kB / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/0.006101, allocations: 88.08 kB / 0.9549 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.006134, allocations: 27.73 kB / 0.9549 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.00617, allocations: 21.72 kB / 0.9549 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.451e-05/0.006244, allocations: 318.9 kB / 0.9552 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.006552, allocations: 69.67 kB / 0.9553 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.483e-05/0.006597, allocations: 65.67 kB / 0.9554 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.006702, allocations: 144.2 kB / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.006704, allocations: 0 / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001404/0.006845, allocations: 181 kB / 0.9557 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.00688, allocations: 44.19 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.006884, allocations: 0 / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.006897, allocations: 3.938 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.006898, allocations: 0 / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.006902, allocations: 0 / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.007019, allocations: 20 kB / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.007039, allocations: 8 kB / 0.9558 GB, free: 13.79 MB / 0.9167 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 7.365e-05/0.007113, allocations: 143.5 kB / 0.9559 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.007127, allocations: 4 kB / 0.9559 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.528e-05/0.007142, allocations: 16.42 kB / 0.9559 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.007145, allocations: 3.938 kB / 0.9559 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.007149, allocations: 3.938 kB / 0.9559 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.007152, allocations: 0 / 0.9559 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.353e-05/0.007225, allocations: 132.7 kB / 0.9561 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.007226, allocations: 0 / 0.9561 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.007227, allocations: 4 kB / 0.9561 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.007228, allocations: 0 / 0.9561 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.007236, allocations: 4 kB / 0.9561 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.007238, allocations: 3.938 kB / 0.9561 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.00724, allocations: 0 / 0.9561 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.007418, allocations: 236.4 kB / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.007424, allocations: 7.891 kB / 0.9563 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.007436, allocations: 4 kB / 0.9563 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.785e-05/0.007464, allocations: 11.92 kB / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.00748, allocations: 8 kB / 0.9563 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.007487, allocations: 4 kB / 0.9563 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.471e-05/0.007522, allocations: 95.3 kB / 0.9564 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007522, allocations: 3.938 kB / 0.9564 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002278/0.00775, allocations: 71.92 kB / 0.9565 GB, free: 12.96 MB / 0.9167 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.0005224/0.008272, allocations: 0.8232 MB / 0.9573 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.008474, allocations: 230.6 kB / 0.9575 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008475, allocations: 0 / 0.9575 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.008556, allocations: 149 kB / 0.9577 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.008681, allocations: 11.92 kB / 0.9577 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.009065, allocations: 264.1 kB / 0.9579 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.714e-05/0.009112, allocations: 67.34 kB / 0.958 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.829e-06/0.009117, allocations: 0 / 0.958 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.00914, allocations: 16.48 kB / 0.958 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of SimCode: time 7.01e-07/0.009141, allocations: 0 / 0.958 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.02865, allocations: 3.802 MB / 0.9617 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.064/7.092, allocations: 6.188 kB / 0.9617 GB, free: 7.605 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv","/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] "Error: Could not read variable yMonotone in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv. Warning: Get data of variable yMonotone from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv failed! Error: Could not read variable y2Monotone in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv. Warning: Get data of variable y2Monotone from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.240165564231575]