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.001809/0.001809, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002316/0.002316, allocations: 219.4 kB / 22.26 MB, free: 5.125 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.969 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.26/3.26, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.002059/0.002059, allocations: 71.73 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3382, allocations: 180.2 MB / 1.353 GB, free: 8.461 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002601/0.3408, allocations: 1.491 MB / 1.354 GB, free: 6.961 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.3422, allocations: 0.8336 MB / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/0.3422, allocations: 0 / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.3425, allocations: 131.7 kB / 1.355 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005645/0.343, allocations: 184.6 kB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.3432, allocations: 79.95 kB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.3433, allocations: 75.8 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.676e-05/0.3434, allocations: 0 / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.495e-05/0.3435, allocations: 43.88 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.3436, allocations: 87.83 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.3436, allocations: 8 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/0.3441, allocations: 263.6 kB / 1.356 GB, free: 5.266 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.3442, allocations: 107.7 kB / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.628e-05/0.3443, allocations: 95.16 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000437/0.3447, allocations: 342.7 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3447, allocations: 0 / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3447, allocations: 3.938 kB / 1.356 GB, free: 4.727 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3447, allocations: 0 / 1.356 GB, free: 4.727 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.0008473/0.3456, allocations: 0.5585 MB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3456, allocations: 11.97 kB / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.3457, allocations: 30.75 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.3457, allocations: 36.7 kB / 1.357 GB, free: 4.051 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009032/0.3466, allocations: 0.8676 MB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3466, allocations: 384 / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.3466, allocations: 8.375 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.3468, allocations: 85.78 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3468, allocations: 0 / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.3469, allocations: 0 / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3469, allocations: 4 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.3471, allocations: 95.94 kB / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007195/0.3478, allocations: 0.5544 MB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.348, allocations: 106.5 kB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.3481, allocations: 60.89 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.543e-05/0.3482, allocations: 15.98 kB / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.3482, allocations: 38.55 kB / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.3482, allocations: 0 / 1.359 GB, free: 2.129 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004729/0.3487, allocations: 209.4 kB / 1.359 GB, free: 1.918 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3487, allocations: 59.53 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.35, allocations: 1.209 MB / 1.36 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.35, allocations: 25.7 kB / 1.36 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.3501, allocations: 184 kB / 1.361 GB, free: 424 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.3501, allocations: 0 / 1.361 GB, free: 424 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.3502, allocations: 13.72 kB / 1.361 GB, free: 404 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3503, allocations: 350.7 kB / 1.361 GB, free: 44 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.3504, allocations: 56.02 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.3505, allocations: 48.53 kB / 1.361 GB, free: 15.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.3507, allocations: 104.8 kB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3508, allocations: 3.984 kB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002877/0.351, allocations: 165.4 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3511, allocations: 9.281 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3511, allocations: 0 / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3511, allocations: 4 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3512, allocations: 11.92 kB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3512, allocations: 0 / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/0.3513, allocations: 7.984 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.3513, allocations: 7.938 kB / 1.361 GB, free: 15.62 MB / 1.061 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.00015/0.3514, allocations: 173.7 kB / 1.361 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.3515, allocations: 35.77 kB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.3518, allocations: 172.1 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3518, allocations: 0 / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3518, allocations: 0 / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.3518, allocations: 3.938 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.3521, allocations: 268.5 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3521, allocations: 0 / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.3521, allocations: 11.98 kB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3521, allocations: 4.031 kB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.3521, allocations: 0 / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3521, allocations: 0 / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3522, allocations: 4 kB / 1.362 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.3525, allocations: 263.2 kB / 1.362 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.555e-05/0.3526, allocations: 51.73 kB / 1.362 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.3526, allocations: 4.031 kB / 1.362 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3527, allocations: 15.98 kB / 1.362 GB, free: 14.56 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.3527, allocations: 0 / 1.362 GB, free: 14.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-06/0.3527, allocations: 0 / 1.362 GB, free: 14.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009392/0.3537, allocations: 0.952 MB / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3537, allocations: 0 / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000371/0.3541, allocations: 75.88 kB / 1.363 GB, free: 13.54 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.0008445/0.3549, allocations: 0.8577 MB / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002808/0.3552, allocations: 99.92 kB / 1.364 GB, free: 12.56 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3552, allocations: 0 / 1.364 GB, free: 12.56 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.3553, allocations: 60 kB / 1.364 GB, free: 12.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.3557, allocations: 21.66 kB / 1.364 GB, free: 12.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00737/0.363, allocations: 6.772 MB / 1.371 GB, free: 5.621 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.3635, allocations: 0.7752 MB / 1.372 GB, free: 4.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.356e-05/0.3635, allocations: 42.94 kB / 1.372 GB, free: 4.777 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.3637, allocations: 95.39 kB / 1.372 GB, free: 4.684 MB / 1.061 GB Notification: Performance of SimCode: time 6.11e-07/0.3637, allocations: 0 / 1.372 GB, free: 4.684 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04686/0.4105, allocations: 7.282 MB / 1.379 GB, free: 13.56 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.81, allocations: 15.94 kB / 1.379 GB, free: 13.55 MB / 1.076 GB " [Timeout remaining time 288] (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: 18.71757458800039]