Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001606/0.001606, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001995/0.001995, allocations: 220.2 kB / 22.25 MB, free: 5.102 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.583/1.583, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.216/3.216, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_12_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.002036/0.002036, allocations: 68.02 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3481, allocations: 176.1 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003038/0.3511, allocations: 1.498 MB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.3526, allocations: 0.7675 MB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.3527, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.3529, allocations: 127.7 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006903/0.3536, allocations: 187.5 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.3538, allocations: 80.02 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.3539, allocations: 67.86 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.639e-05/0.354, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.197e-05/0.3541, allocations: 43.88 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.3543, allocations: 95.7 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.3543, allocations: 8 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004779/0.3548, allocations: 251.6 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.3549, allocations: 111.7 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.044e-05/0.355, allocations: 71.34 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.3555, allocations: 354.6 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3555, allocations: 0 / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3555, allocations: 0 / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.3555, allocations: 0 / 1.329 GB, free: 13.81 MB / 1.029 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.0009209/0.3564, allocations: 0.5507 MB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3565, allocations: 11.97 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.3565, allocations: 34.75 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/0.3566, allocations: 36.7 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.3576, allocations: 0.8638 MB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.3576, allocations: 384 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.3576, allocations: 384 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.3578, allocations: 85.78 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3579, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3579, allocations: 0 / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3579, allocations: 4 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.3581, allocations: 107.9 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007408/0.3588, allocations: 0.5349 MB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.359, allocations: 106.5 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3591, allocations: 52.89 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/0.3592, allocations: 19.98 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.3592, allocations: 34.56 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3592, allocations: 4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004833/0.3597, allocations: 217.3 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.3597, allocations: 51.41 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.361, allocations: 1.216 MB / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.361, allocations: 25.7 kB / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.3611, allocations: 176.1 kB / 1.333 GB, free: 9.516 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.3612, allocations: 7.938 kB / 1.333 GB, free: 9.508 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.3612, allocations: 13.72 kB / 1.333 GB, free: 9.488 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3614, allocations: 350.7 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.3615, allocations: 56.09 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.3616, allocations: 55.95 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.3618, allocations: 100.8 kB / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3618, allocations: 0 / 1.334 GB, free: 8.926 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002774/0.3621, allocations: 173.4 kB / 1.334 GB, free: 8.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3621, allocations: 4 kB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3621, allocations: 4 kB / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3621, allocations: 0 / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.3622, allocations: 4 kB / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3622, allocations: 3.984 kB / 1.334 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.3623, allocations: 8 kB / 1.334 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.3623, allocations: 3.938 kB / 1.334 GB, free: 8.723 MB / 1.029 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.0001501/0.3624, allocations: 170.2 kB / 1.334 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.3625, allocations: 31.77 kB / 1.334 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.3628, allocations: 188.1 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3628, allocations: 3.984 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.3628, allocations: 0 / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3628, allocations: 0 / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.3631, allocations: 248.6 kB / 1.335 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3631, allocations: 4 kB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.3631, allocations: 7.984 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3631, allocations: 0 / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.3631, allocations: 4.031 kB / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3631, allocations: 4 kB / 1.335 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3632, allocations: 0 / 1.335 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.3635, allocations: 263.2 kB / 1.335 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.3636, allocations: 51.73 kB / 1.335 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.3636, allocations: 4 kB / 1.335 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.894e-05/0.3637, allocations: 11.92 kB / 1.335 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.3637, allocations: 4 kB / 1.335 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3638, allocations: 11.95 kB / 1.335 GB, free: 7.66 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009701/0.3647, allocations: 0.9481 MB / 1.336 GB, free: 6.715 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3647, allocations: 0 / 1.336 GB, free: 6.715 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003759/0.3651, allocations: 75.86 kB / 1.336 GB, free: 6.641 MB / 1.029 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.0008272/0.3659, allocations: 0.8488 MB / 1.337 GB, free: 5.766 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.3662, allocations: 107.9 kB / 1.337 GB, free: 5.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3662, allocations: 0 / 1.337 GB, free: 5.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.3663, allocations: 51.97 kB / 1.337 GB, free: 5.609 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.3667, allocations: 17.66 kB / 1.337 GB, free: 5.594 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007522/0.3742, allocations: 6.777 MB / 1.344 GB, free: 14.74 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.3744, allocations: 175.9 kB / 1.344 GB, free: 14.55 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.208e-05/0.3745, allocations: 38.94 kB / 1.344 GB, free: 14.51 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.3746, allocations: 87.41 kB / 1.344 GB, free: 14.42 MB / 1.045 GB Notification: Performance of SimCode: time 5.31e-07/0.3746, allocations: 0 / 1.344 GB, free: 14.42 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.4111, allocations: 7.865 MB / 1.352 GB, free: 6.719 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.78, allocations: 10.2 kB / 1.352 GB, free: 6.711 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.70899272398674]