Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.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.001446/0.001446, allocations: 111 kB / 16.46 MB, free: 6.453 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.001696/0.001696, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.555/1.555, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] 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 3.324/3.324, allocations: 0.505 GB / 0.8066 GB, free: 23.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [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.002194/0.002194, allocations: 70.19 kB / 1.172 GB, free: 17.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3459, allocations: 180.2 MB / 1.348 GB, free: 9.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002996/0.3489, allocations: 1.489 MB / 1.349 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.3503, allocations: 0.8219 MB / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.585e-05/0.3504, allocations: 0 / 1.35 GB, free: 7.625 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.3506, allocations: 139.7 kB / 1.35 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006287/0.3513, allocations: 187.5 kB / 1.35 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.3515, allocations: 72.08 kB / 1.35 GB, free: 7.234 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.3516, allocations: 67.81 kB / 1.35 GB, free: 7.168 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.438e-05/0.3517, allocations: 7.938 kB / 1.35 GB, free: 7.16 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.699e-05/0.3518, allocations: 47.81 kB / 1.351 GB, free: 7.113 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.3519, allocations: 87.83 kB / 1.351 GB, free: 7.027 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.3519, allocations: 0 / 1.351 GB, free: 7.027 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004242/0.3523, allocations: 239.7 kB / 1.351 GB, free: 6.793 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.3525, allocations: 111.7 kB / 1.351 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.3526, allocations: 95.16 kB / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.3531, allocations: 346.6 kB / 1.351 GB, free: 6.25 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3531, allocations: 4 kB / 1.351 GB, free: 6.246 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3531, allocations: 0 / 1.351 GB, free: 6.246 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.3531, allocations: 0 / 1.351 GB, free: 6.246 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000971/0.3541, allocations: 0.626 MB / 1.352 GB, free: 5.57 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3541, allocations: 11.98 kB / 1.352 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.3541, allocations: 34.75 kB / 1.352 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.265e-05/0.3542, allocations: 36.7 kB / 1.352 GB, free: 5.48 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.3553, allocations: 0.9164 MB / 1.353 GB, free: 4.527 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3553, allocations: 384 / 1.353 GB, free: 4.527 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.3553, allocations: 384 / 1.353 GB, free: 4.527 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.3556, allocations: 85.78 kB / 1.353 GB, free: 4.438 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3556, allocations: 0 / 1.353 GB, free: 4.438 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3556, allocations: 7.938 kB / 1.353 GB, free: 4.43 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3556, allocations: 4 kB / 1.353 GB, free: 4.426 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.3558, allocations: 99.94 kB / 1.353 GB, free: 4.328 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007645/0.3566, allocations: 0.5825 MB / 1.354 GB, free: 3.695 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.3568, allocations: 98.53 kB / 1.354 GB, free: 3.59 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.3569, allocations: 68.81 kB / 1.354 GB, free: 3.52 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-05/0.357, allocations: 19.98 kB / 1.354 GB, free: 3.5 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.357, allocations: 38.5 kB / 1.354 GB, free: 3.453 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.357, allocations: 0 / 1.354 GB, free: 3.453 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.000529/0.3575, allocations: 205.4 kB / 1.354 GB, free: 3.246 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.3576, allocations: 55.41 kB / 1.354 GB, free: 3.18 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.3589, allocations: 1.213 MB / 1.355 GB, free: 1.953 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.3589, allocations: 25.7 kB / 1.355 GB, free: 1.922 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.3591, allocations: 184 kB / 1.356 GB, free: 1.738 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.3591, allocations: 0 / 1.356 GB, free: 1.738 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.3591, allocations: 9.719 kB / 1.356 GB, free: 1.723 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002088/0.3593, allocations: 354.7 kB / 1.356 GB, free: 1.367 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.3595, allocations: 51.97 kB / 1.356 GB, free: 1.316 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.3596, allocations: 48.53 kB / 1.356 GB, free: 1.27 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.3598, allocations: 116.7 kB / 1.356 GB, free: 1.152 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3598, allocations: 0 / 1.356 GB, free: 1.152 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003157/0.3601, allocations: 161.4 kB / 1.356 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3601, allocations: 6.031 kB / 1.356 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3601, allocations: 4.094 kB / 1.356 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3602, allocations: 4 kB / 1.356 GB, free: 0.9766 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.3602, allocations: 7.984 kB / 1.356 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3602, allocations: 0 / 1.356 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.296e-05/0.3603, allocations: 7.984 kB / 1.356 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3603, allocations: 4 kB / 1.356 GB, free: 0.957 MB / 1.045 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001559/0.3605, allocations: 165.7 kB / 1.356 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.3606, allocations: 31.77 kB / 1.356 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.3609, allocations: 187.9 kB / 1.357 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.3609, allocations: 3.984 kB / 1.357 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3609, allocations: 0 / 1.357 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3609, allocations: 0 / 1.357 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.3613, allocations: 297.5 kB / 1.357 GB, free: 224 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3613, allocations: 0 / 1.357 GB, free: 224 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-05/0.3613, allocations: 11.98 kB / 1.357 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3613, allocations: 0 / 1.357 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3613, allocations: 4.031 kB / 1.357 GB, free: 208 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3613, allocations: 0 / 1.357 GB, free: 208 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3613, allocations: 0 / 1.357 GB, free: 208 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.3617, allocations: 267.1 kB / 1.357 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.3619, allocations: 128.8 kB / 1.357 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.3619, allocations: 0 / 1.357 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.362, allocations: 12.02 kB / 1.357 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.3621, allocations: 4 kB / 1.357 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.3621, allocations: 3.938 kB / 1.357 GB, free: 15.76 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001072/0.3631, allocations: 0.9559 MB / 1.358 GB, free: 14.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3631, allocations: 0 / 1.358 GB, free: 14.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004218/0.3636, allocations: 71.86 kB / 1.358 GB, free: 14.73 MB / 1.061 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.001052/0.3646, allocations: 0.8526 MB / 1.359 GB, free: 13.86 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003384/0.3649, allocations: 107.9 kB / 1.359 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3649, allocations: 0 / 1.359 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.3651, allocations: 56.06 kB / 1.359 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3655, allocations: 17.56 kB / 1.359 GB, free: 13.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008374/0.3739, allocations: 6.775 MB / 1.366 GB, free: 6.828 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.3744, allocations: 0.7752 MB / 1.367 GB, free: 6.027 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.84e-05/0.3745, allocations: 46.92 kB / 1.367 GB, free: 5.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.3747, allocations: 99.39 kB / 1.367 GB, free: 5.883 MB / 1.061 GB Notification: Performance of SimCode: time 2.685e-06/0.3747, allocations: 0 / 1.367 GB, free: 5.883 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03479/0.4095, allocations: 7.162 MB / 1.374 GB, free: 14.83 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.647/9.056, allocations: 8.062 kB / 1.374 GB, free: 14.82 MB / 1.076 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.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: 16.06740568182431]