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.001521/0.001521, allocations: 111.4 kB / 16.41 MB, free: 6.496 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.002029/0.002029, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.451/1.451, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.829/2.829, allocations: 469.8 MB / 0.7491 GB, free: 3 MB / 0.6075 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: "" <> 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 0.001963/0.001963, allocations: 63.89 kB / 1.073 GB, free: 72 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8524/0.8544, allocations: 159.1 MB / 1.229 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001789/0.8562, allocations: 0.6169 MB / 1.229 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.8583, allocations: 1.435 MB / 1.231 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.8583, allocations: 0 / 1.231 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.985e-05/0.8584, allocations: 3.938 kB / 1.231 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.439e-05/0.8585, allocations: 4 kB / 1.231 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007121/0.8592, allocations: 211.5 kB / 1.231 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.8593, allocations: 39.95 kB / 1.231 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.8593, allocations: 4 kB / 1.231 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.781e-05/0.8594, allocations: 15.94 kB / 1.231 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.8594, allocations: 19.97 kB / 1.231 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.8595, allocations: 0 / 1.231 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004279/0.8599, allocations: 251.6 kB / 1.231 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.8599, allocations: 7.938 kB / 1.231 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.86, allocations: 11.94 kB / 1.231 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.8603, allocations: 225.2 kB / 1.231 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.8603, allocations: 4 kB / 1.231 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.375e-06/0.8603, allocations: 0 / 1.231 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.8603, allocations: 0 / 1.231 GB, free: 1.938 MB / 0.9356 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.0004724/0.8608, allocations: 404.7 kB / 1.232 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.8609, allocations: 11.97 kB / 1.232 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.8609, allocations: 42.73 kB / 1.232 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.8609, allocations: 4.891 kB / 1.232 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.8611, allocations: 172.3 kB / 1.232 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.8611, allocations: 4.375 kB / 1.232 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.8611, allocations: 4.375 kB / 1.232 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.8613, allocations: 73.78 kB / 1.232 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.8613, allocations: 0 / 1.232 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.8613, allocations: 8 kB / 1.232 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.8614, allocations: 3.984 kB / 1.232 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.888e-05/0.8614, allocations: 39.91 kB / 1.232 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.8616, allocations: 161.7 kB / 1.232 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.849e-05/0.8617, allocations: 66.48 kB / 1.232 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.805e-05/0.8618, allocations: 44.88 kB / 1.232 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.8618, allocations: 3.984 kB / 1.232 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.8618, allocations: 42.5 kB / 1.232 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.8618, allocations: 0 / 1.232 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.000331/0.8622, allocations: 191.4 kB / 1.233 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.8623, allocations: 81.11 kB / 1.233 GB, free: 408 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.464e-05/0.8624, allocations: 109.8 kB / 1.233 GB, free: 288 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.8624, allocations: 29.7 kB / 1.233 GB, free: 252 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.8624, allocations: 84.14 kB / 1.233 GB, free: 164 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.8625, allocations: 27.73 kB / 1.233 GB, free: 136 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.8625, allocations: 25.75 kB / 1.233 GB, free: 104 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.8627, allocations: 318.8 kB / 1.233 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.752e-05/0.8628, allocations: 31.97 kB / 1.233 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.638e-05/0.8628, allocations: 35.98 kB / 1.233 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.863, allocations: 140.8 kB / 1.234 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.863, allocations: 0 / 1.234 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000221/0.8632, allocations: 155.2 kB / 1.234 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.8633, allocations: 37.69 kB / 1.234 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.8633, allocations: 0 / 1.234 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.8633, allocations: 4.062 kB / 1.234 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.8633, allocations: 0 / 1.234 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.8633, allocations: 3.984 kB / 1.234 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.8634, allocations: 15.94 kB / 1.234 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.8635, allocations: 4 kB / 1.234 GB, free: 15.33 MB / 0.9512 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.0001152/0.8636, allocations: 154.5 kB / 1.234 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.8636, allocations: 11.94 kB / 1.234 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.27e-05/0.8636, allocations: 4.375 kB / 1.234 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.8636, allocations: 0 / 1.234 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.8637, allocations: 4 kB / 1.234 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.8637, allocations: 3.984 kB / 1.234 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.8638, allocations: 165.6 kB / 1.234 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.8638, allocations: 0 / 1.234 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-06/0.8638, allocations: 7.938 kB / 1.234 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.8638, allocations: 0 / 1.234 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.8638, allocations: 0 / 1.234 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8638, allocations: 7.938 kB / 1.234 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.8638, allocations: 0 / 1.234 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.8641, allocations: 202.7 kB / 1.234 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.8642, allocations: 92.92 kB / 1.234 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.8642, allocations: 8 kB / 1.234 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.628e-05/0.8642, allocations: 8 kB / 1.234 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.8643, allocations: 7.984 kB / 1.234 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.8643, allocations: 4 kB / 1.234 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.04e-05/0.8644, allocations: 91.27 kB / 1.234 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8644, allocations: 0 / 1.234 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002996/0.8647, allocations: 71.88 kB / 1.235 GB, free: 14.39 MB / 0.9512 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.0007731/0.8654, allocations: 0.798 MB / 1.235 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002724/0.8657, allocations: 199.3 kB / 1.236 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8657, allocations: 0 / 1.236 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.8659, allocations: 147.3 kB / 1.236 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.8661, allocations: 10.19 kB / 1.236 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00047/0.8665, allocations: 226.2 kB / 1.236 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.8669, allocations: 0.6846 MB / 1.237 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.863e-06/0.8669, allocations: 0 / 1.237 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.867, allocations: 15.42 kB / 1.237 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of SimCode: time 6.01e-07/0.867, allocations: 0 / 1.237 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/0.8977, allocations: 3.107 MB / 1.24 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/9.045, allocations: 5.875 kB / 1.24 GB, free: 9.211 MB / 0.9512 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.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: 15.149389101890847]