Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001025/0.001025, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001222/0.001222, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9066/0.9066, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.831/1.831, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.84e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001142/0.001161, allocations: 0.6111 MB / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.002656, allocations: 1.428 MB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.002683, allocations: 4 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 6.039e-05/0.002743, allocations: 3.938 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.002784, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006547/0.003439, allocations: 222.1 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.702e-05/0.003526, allocations: 35.91 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.003569, allocations: 4 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.745e-05/0.003617, allocations: 27.95 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.198e-05/0.003659, allocations: 11.98 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.003672, allocations: 0 / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003325/0.004004, allocations: 267.5 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.004045, allocations: 8 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.004078, allocations: 11.94 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.004339, allocations: 271.3 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004342, allocations: 0 / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.563e-06/0.004344, allocations: 0 / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.004348, allocations: 0 / 1.003 GB, free: 10.54 MB / 0.9636 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.00033/0.004678, allocations: 331.5 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.004719, allocations: 12.75 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/0.004748, allocations: 30.75 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.004776, allocations: 4.938 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.682e-05/0.004853, allocations: 113.8 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.004863, allocations: 8.359 kB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.004873, allocations: 4.375 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.005019, allocations: 107.9 kB / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.005026, allocations: 192 / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.005038, allocations: 4.125 kB / 1.003 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.005042, allocations: 0 / 1.003 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.564e-05/0.005098, allocations: 69.61 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.005214, allocations: 132.7 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.065e-05/0.005295, allocations: 84.25 kB / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.005347, allocations: 70.72 kB / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-06/0.005353, allocations: 4 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.005377, allocations: 38.56 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.005378, allocations: 0 / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002799/0.005658, allocations: 262.5 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.005699, allocations: 81.11 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.005764, allocations: 113.8 kB / 1.004 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.005774, allocations: 25.7 kB / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.005806, allocations: 92.12 kB / 1.004 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.005837, allocations: 15.86 kB / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.00587, allocations: 21.72 kB / 1.004 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.486e-05/0.005945, allocations: 322.9 kB / 1.004 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.337e-05/0.005998, allocations: 69.67 kB / 1.004 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.512e-05/0.006043, allocations: 65.67 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.006283, allocations: 140.2 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.006286, allocations: 3.938 kB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001412/0.006427, allocations: 184.9 kB / 1.005 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.006459, allocations: 41.69 kB / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.006464, allocations: 0 / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.006476, allocations: 7.875 kB / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.006477, allocations: 0 / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.006482, allocations: 0 / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.006589, allocations: 19.98 kB / 1.005 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.006607, allocations: 4 kB / 1.005 GB, free: 7.812 MB / 0.9636 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.603e-05/0.006683, allocations: 143.5 kB / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.006693, allocations: 7.953 kB / 1.005 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.359e-05/0.006707, allocations: 16.42 kB / 1.005 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.006709, allocations: 3.938 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.006713, allocations: 0 / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.006716, allocations: 0 / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.878e-05/0.006784, allocations: 132.7 kB / 1.005 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006786, allocations: 4 kB / 1.005 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.006786, allocations: 4 kB / 1.005 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.006787, allocations: 0 / 1.005 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.006796, allocations: 4 kB / 1.005 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.006798, allocations: 3.938 kB / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.006799, allocations: 3.984 kB / 1.005 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.006982, allocations: 229 kB / 1.005 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-06/0.006988, allocations: 0 / 1.005 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.006999, allocations: 4 kB / 1.005 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.185e-05/0.007031, allocations: 11.92 kB / 1.005 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.007046, allocations: 8 kB / 1.005 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.007054, allocations: 4 kB / 1.005 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.132e-05/0.007085, allocations: 95.28 kB / 1.006 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007085, allocations: 0 / 1.006 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002335/0.007318, allocations: 79.86 kB / 1.006 GB, free: 6.984 MB / 0.9636 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.0005234/0.007842, allocations: 0.8264 MB / 1.006 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001976/0.008039, allocations: 226.7 kB / 1.007 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.008041, allocations: 0 / 1.007 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.021e-05/0.008121, allocations: 153 kB / 1.007 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.008248, allocations: 19.31 kB / 1.007 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.008622, allocations: 256.2 kB / 1.007 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.962e-05/0.008672, allocations: 71.25 kB / 1.007 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.43e-06/0.008677, allocations: 0 / 1.007 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.008702, allocations: 16.48 kB / 1.007 GB, free: 5.281 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.008703, allocations: 0 / 1.007 GB, free: 5.281 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.02582, allocations: 3.807 MB / 1.011 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.799/6.825, allocations: 6.375 kB / 1.011 GB, free: 1.613 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.990198678337038]