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.001839/0.001839, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002389/0.002389, allocations: 215.2 kB / 22.25 MB, free: 5.262 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.785 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.468/3.468, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 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.00334/0.00334, allocations: 71.12 kB / 1.186 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3943, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002859/0.3971, allocations: 1.483 MB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.3986, allocations: 0.7607 MB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.3987, allocations: 0 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.399, allocations: 135.7 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007008/0.3997, allocations: 183.6 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.4, allocations: 80 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.4001, allocations: 67.81 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.461e-05/0.4002, allocations: 3.984 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.764e-05/0.4002, allocations: 43.88 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.4004, allocations: 87.83 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.4004, allocations: 7.938 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004908/0.4009, allocations: 247.6 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.4011, allocations: 103.7 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.035e-05/0.4011, allocations: 71.41 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005261/0.4017, allocations: 350.6 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4017, allocations: 0 / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4017, allocations: 0 / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.4017, allocations: 0 / 1.367 GB, free: 10.39 MB / 1.061 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.001006/0.4027, allocations: 0.5507 MB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.4027, allocations: 8.031 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.945e-05/0.4028, allocations: 38.69 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.4029, allocations: 36.7 kB / 1.368 GB, free: 9.723 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.4039, allocations: 0.8638 MB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.4039, allocations: 384 / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.4039, allocations: 4.375 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.4041, allocations: 85.78 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4041, allocations: 4 kB / 1.368 GB, free: 8.738 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.4041, allocations: 0 / 1.368 GB, free: 8.738 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4041, allocations: 0 / 1.368 GB, free: 8.738 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.4043, allocations: 99.94 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007364/0.4051, allocations: 0.5465 MB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.4053, allocations: 98.53 kB / 1.369 GB, free: 7.945 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.4054, allocations: 56.89 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.999e-05/0.4054, allocations: 19.98 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.4055, allocations: 38.55 kB / 1.369 GB, free: 7.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4055, allocations: 0 / 1.369 GB, free: 7.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0005152/0.406, allocations: 213.3 kB / 1.369 GB, free: 7.605 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.406, allocations: 63.34 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.4075, allocations: 1.209 MB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.4075, allocations: 25.7 kB / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.4076, allocations: 180.1 kB / 1.371 GB, free: 6.098 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.4077, allocations: 7.938 kB / 1.371 GB, free: 6.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.4077, allocations: 13.72 kB / 1.371 GB, free: 6.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.4079, allocations: 354.7 kB / 1.371 GB, free: 5.715 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.408, allocations: 52.09 kB / 1.371 GB, free: 5.664 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.4081, allocations: 51.97 kB / 1.371 GB, free: 5.613 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.4083, allocations: 108.8 kB / 1.371 GB, free: 5.504 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4083, allocations: 0 / 1.371 GB, free: 5.504 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003074/0.4086, allocations: 165.4 kB / 1.372 GB, free: 5.336 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4087, allocations: 12.03 kB / 1.372 GB, free: 5.324 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.4087, allocations: 0 / 1.372 GB, free: 5.324 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4087, allocations: 0 / 1.372 GB, free: 5.324 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.4088, allocations: 7.984 kB / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.4088, allocations: 0 / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.4088, allocations: 11.98 kB / 1.372 GB, free: 5.305 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.4089, allocations: 0 / 1.372 GB, free: 5.305 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.0001556/0.409, allocations: 165.7 kB / 1.372 GB, free: 5.133 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.4091, allocations: 27.81 kB / 1.372 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.4094, allocations: 180.1 kB / 1.372 GB, free: 4.922 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4094, allocations: 0 / 1.372 GB, free: 4.922 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4094, allocations: 0 / 1.372 GB, free: 4.922 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.4094, allocations: 0 / 1.372 GB, free: 4.922 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.4097, allocations: 264.5 kB / 1.372 GB, free: 4.621 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4097, allocations: 0 / 1.372 GB, free: 4.621 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.4098, allocations: 7.984 kB / 1.372 GB, free: 4.613 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4098, allocations: 0 / 1.372 GB, free: 4.613 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.4098, allocations: 7.969 kB / 1.372 GB, free: 4.605 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4098, allocations: 7.984 kB / 1.372 GB, free: 4.598 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4098, allocations: 0 / 1.372 GB, free: 4.598 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.4101, allocations: 259.2 kB / 1.373 GB, free: 4.328 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.4103, allocations: 55.72 kB / 1.373 GB, free: 4.273 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.4103, allocations: 0 / 1.373 GB, free: 4.273 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.4104, allocations: 7.984 kB / 1.373 GB, free: 4.266 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.4104, allocations: 7.938 kB / 1.373 GB, free: 4.258 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.4104, allocations: 0 / 1.373 GB, free: 4.258 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001003/0.4114, allocations: 0.9598 MB / 1.374 GB, free: 3.297 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4114, allocations: 0 / 1.374 GB, free: 3.297 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003765/0.4118, allocations: 71.86 kB / 1.374 GB, free: 3.227 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.0008921/0.4127, allocations: 0.8526 MB / 1.374 GB, free: 2.348 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.413, allocations: 111.9 kB / 1.375 GB, free: 2.238 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.413, allocations: 4.062 kB / 1.375 GB, free: 2.234 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.4131, allocations: 47.97 kB / 1.375 GB, free: 2.188 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.4135, allocations: 21.66 kB / 1.375 GB, free: 2.168 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007745/0.4212, allocations: 6.768 MB / 1.381 GB, free: 11.33 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.4214, allocations: 166.1 kB / 1.381 GB, free: 11.14 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.332e-05/0.4215, allocations: 46.94 kB / 1.381 GB, free: 11.1 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.4216, allocations: 95.39 kB / 1.382 GB, free: 11 MB / 1.076 GB Notification: Performance of SimCode: time 9.21e-07/0.4216, allocations: 0 / 1.382 GB, free: 11 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/0.4581, allocations: 7.82 MB / 1.389 GB, free: 3.336 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.84, allocations: 9.688 kB / 1.389 GB, free: 3.328 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=800 --tolerance=1e-06 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.mat","/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: 19.16208220506087]