Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000869/0.000869, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001104/0.001104, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9564/0.9564, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.749/1.749, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9505 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.235e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002171/0.002193, allocations: 1.486 MB / 0.952 GB, free: 0.8555 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.003361, allocations: 0.7679 MB / 0.9527 GB, free: 84 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.003412, allocations: 4 kB / 0.9527 GB, free: 80 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.003658, allocations: 131.7 kB / 0.9528 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005447/0.004202, allocations: 187.4 kB / 0.953 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.004319, allocations: 79.72 kB / 0.9531 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.004421, allocations: 63.88 kB / 0.9531 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.004518, allocations: 7.984 kB / 0.9532 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.004576, allocations: 43.88 kB / 0.9532 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.004691, allocations: 87.83 kB / 0.9533 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.004708, allocations: 4 kB / 0.9533 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.005023, allocations: 243.6 kB / 0.9535 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.005139, allocations: 119.6 kB / 0.9536 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.005184, allocations: 43.8 kB / 0.9537 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.00552, allocations: 378.9 kB / 0.954 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.005524, allocations: 0 / 0.954 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.763e-06/0.005525, allocations: 0 / 0.954 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.005531, allocations: 0 / 0.954 GB, free: 14.71 MB / 0.8698 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.0006684/0.006199, allocations: 0.5546 MB / 0.9546 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.006244, allocations: 8.031 kB / 0.9546 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.006281, allocations: 34.75 kB / 0.9546 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.006328, allocations: 36.7 kB / 0.9546 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006397/0.006967, allocations: 0.867 MB / 0.9555 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.006983, allocations: 4.375 kB / 0.9555 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.006994, allocations: 384 / 0.9555 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.007174, allocations: 82.22 kB / 0.9556 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.007184, allocations: 192 / 0.9556 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.007197, allocations: 4.125 kB / 0.9556 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.007202, allocations: 0 / 0.9556 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.007342, allocations: 107.9 kB / 0.9557 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.007885, allocations: 0.5388 MB / 0.9562 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.008014, allocations: 102.5 kB / 0.9563 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.853e-05/0.008083, allocations: 60.83 kB / 0.9564 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.369e-05/0.008126, allocations: 19.97 kB / 0.9564 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.008149, allocations: 34.56 kB / 0.9564 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.00815, allocations: 3.938 kB / 0.9564 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003236/0.008474, allocations: 213.4 kB / 0.9566 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.008508, allocations: 55.39 kB / 0.9567 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009095/0.009418, allocations: 1.205 MB / 0.9579 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.009427, allocations: 25.7 kB / 0.9579 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/0.009522, allocations: 188 kB / 0.9581 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.009538, allocations: 3.953 kB / 0.9581 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.009565, allocations: 17.72 kB / 0.9581 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.009656, allocations: 346.8 kB / 0.9584 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.00973, allocations: 56.09 kB / 0.9585 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.009785, allocations: 47.97 kB / 0.9585 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.009903, allocations: 108.7 kB / 0.9586 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.009907, allocations: 4 kB / 0.9586 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001627/0.01007, allocations: 165.4 kB / 0.9588 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01008, allocations: 8.094 kB / 0.9588 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.01009, allocations: 3.984 kB / 0.9588 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.0101, allocations: 0 / 0.9588 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.685e-05/0.01018, allocations: 11.98 kB / 0.9588 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.01019, allocations: 0 / 0.9588 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.706e-05/0.01024, allocations: 15.86 kB / 0.9588 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.01025, allocations: 4 kB / 0.9588 GB, free: 9.621 MB / 0.8698 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.0001049/0.01035, allocations: 165.8 kB / 0.959 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.01039, allocations: 35.7 kB / 0.959 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.01059, allocations: 176.1 kB / 0.9592 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01059, allocations: 0 / 0.9592 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.0106, allocations: 0 / 0.9592 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.0106, allocations: 0 / 0.9592 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.01079, allocations: 260.6 kB / 0.9594 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01079, allocations: 3.938 kB / 0.9594 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.01082, allocations: 7.984 kB / 0.9594 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01082, allocations: 0 / 0.9594 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.01083, allocations: 4 kB / 0.9594 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01083, allocations: 4.031 kB / 0.9594 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01083, allocations: 0 / 0.9594 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.01102, allocations: 263.2 kB / 0.9597 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.01108, allocations: 55.67 kB / 0.9598 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.0111, allocations: 4 kB / 0.9598 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.408e-05/0.01116, allocations: 7.984 kB / 0.9598 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.01119, allocations: 0 / 0.9598 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.01119, allocations: 4 kB / 0.9598 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006026/0.0118, allocations: 0.9559 MB / 0.9607 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.0118, allocations: 0 / 0.9607 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002898/0.01209, allocations: 75.86 kB / 0.9608 GB, free: 7.543 MB / 0.8698 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.0005941/0.01268, allocations: 0.8488 MB / 0.9616 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.01286, allocations: 111.9 kB / 0.9617 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01286, allocations: 4.094 kB / 0.9617 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.074e-05/0.01293, allocations: 51.97 kB / 0.9618 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.01324, allocations: 24.62 kB / 0.9618 GB, free: 6.484 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005465/0.01871, allocations: 6.819 MB / 0.9684 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.01886, allocations: 174.1 kB / 0.9686 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.232e-05/0.01894, allocations: 50.88 kB / 0.9687 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.01906, allocations: 96.45 kB / 0.9687 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of SimCode: time 2.094e-06/0.01907, allocations: 0 / 0.9687 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.04399, allocations: 7.91 MB / 0.9765 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.821/6.865, allocations: 9.391 kB / 0.9765 GB, free: 7.516 MB / 0.8855 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 Buildings_11_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.085062701255083]