Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.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.001531/0.001531, allocations: 110.6 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.001791/0.001791, allocations: 220.3 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.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.211/3.211, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",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.001983/0.001983, allocations: 81.11 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3626, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2505/0.6131, allocations: 169.7 MB / 1.519 GB, free: 14.12 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009792/0.6229, allocations: 5.785 MB / 1.524 GB, free: 8.316 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003535/0.6232, allocations: 7.938 kB / 1.524 GB, free: 8.309 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0006685/0.6239, allocations: 99.3 kB / 1.524 GB, free: 8.211 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.0004076/0.6243, allocations: 63.61 kB / 1.524 GB, free: 8.148 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.6245, allocations: 35.91 kB / 1.524 GB, free: 8.113 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0004361/0.625, allocations: 215.1 kB / 1.525 GB, free: 7.902 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.6252, allocations: 58.84 kB / 1.525 GB, free: 7.84 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002881/0.6255, allocations: 103.6 kB / 1.525 GB, free: 7.738 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.6257, allocations: 83.56 kB / 1.525 GB, free: 7.656 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.6257, allocations: 8 kB / 1.525 GB, free: 7.648 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 3.246e-05/0.6258, allocations: 16 kB / 1.525 GB, free: 7.633 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.6258, allocations: 27.86 kB / 1.525 GB, free: 7.605 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 9.206e-05/0.6259, allocations: 63.69 kB / 1.525 GB, free: 7.543 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.6262, allocations: 171.2 kB / 1.525 GB, free: 7.375 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6262, allocations: 0 / 1.525 GB, free: 7.375 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6262, allocations: 0 / 1.525 GB, free: 7.375 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.6262, allocations: 0 / 1.525 GB, free: 7.375 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007275/0.6269, allocations: 363.4 kB / 1.525 GB, free: 6.992 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.627, allocations: 15.97 kB / 1.526 GB, free: 6.977 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.551e-05/0.627, allocations: 42.56 kB / 1.526 GB, free: 6.926 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.6271, allocations: 19.89 kB / 1.526 GB, free: 6.906 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.6275, allocations: 196.8 kB / 1.526 GB, free: 6.688 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.6275, allocations: 12 kB / 1.526 GB, free: 6.676 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.6275, allocations: 12 kB / 1.526 GB, free: 6.664 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.6278, allocations: 165.6 kB / 1.526 GB, free: 6.473 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.6278, allocations: 0 / 1.526 GB, free: 6.473 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.6279, allocations: 11.98 kB / 1.526 GB, free: 6.461 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.6279, allocations: 0 / 1.526 GB, free: 6.461 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.628, allocations: 75.83 kB / 1.526 GB, free: 6.387 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.6291, allocations: 1.12 MB / 1.527 GB, free: 5.195 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.6293, allocations: 165.1 kB / 1.527 GB, free: 5.023 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.413e-05/0.6293, allocations: 84.08 kB / 1.527 GB, free: 4.938 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.6293, allocations: 83.31 kB / 1.527 GB, free: 4.855 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.654e-05/0.6294, allocations: 117.8 kB / 1.528 GB, free: 4.73 MB / 1.217 GB Notification: Performance of pre-optimization done (n=0): time 1.051e-06/0.6294, allocations: 0 / 1.528 GB, free: 4.73 MB / 1.217 GB Notification: Performance of matching and sorting (n=0): time 0.0001045/0.6295, allocations: 41.61 kB / 1.528 GB, free: 4.684 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.998e-05/0.6296, allocations: 178.1 kB / 1.528 GB, free: 4.484 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.6299, allocations: 260.8 kB / 1.528 GB, free: 4.223 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.63, allocations: 25.7 kB / 1.528 GB, free: 4.191 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.6301, allocations: 132 kB / 1.528 GB, free: 4.059 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.6301, allocations: 16 / 1.528 GB, free: 4.059 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.6301, allocations: 25.72 kB / 1.528 GB, free: 4.027 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.6303, allocations: 326.8 kB / 1.528 GB, free: 3.699 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.6303, allocations: 11.98 kB / 1.528 GB, free: 3.688 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.606e-05/0.6304, allocations: 67.66 kB / 1.529 GB, free: 3.594 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.655e-05/0.6304, allocations: 52.23 kB / 1.529 GB, free: 3.527 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6304, allocations: 0 / 1.529 GB, free: 3.527 MB / 1.217 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001873/0.6306, allocations: 93.34 kB / 1.529 GB, free: 3.43 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.6307, allocations: 8.156 kB / 1.529 GB, free: 3.422 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6307, allocations: 4 kB / 1.529 GB, free: 3.418 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.6307, allocations: 4 kB / 1.529 GB, free: 3.414 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.426e-05/0.6307, allocations: 4 kB / 1.529 GB, free: 3.41 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.6307, allocations: 4 kB / 1.529 GB, free: 3.406 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.941e-05/0.6308, allocations: 15.83 kB / 1.529 GB, free: 3.391 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-06/0.6308, allocations: 4 kB / 1.529 GB, free: 3.387 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.00024/0.6311, allocations: 209 kB / 1.529 GB, free: 3.172 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.6312, allocations: 132.8 kB / 1.529 GB, free: 3.035 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.72e-05/0.6313, allocations: 121.6 kB / 1.529 GB, free: 2.91 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001089/0.6314, allocations: 180.3 kB / 1.529 GB, free: 2.727 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.453e-05/0.6315, allocations: 184.2 kB / 1.53 GB, free: 2.539 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.39e-05/0.6316, allocations: 180.2 kB / 1.53 GB, free: 2.355 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.632, allocations: 424.1 kB / 1.53 GB, free: 1.891 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.64e-05/0.6321, allocations: 105 kB / 1.53 GB, free: 1.781 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.176e-05/0.6321, allocations: 112.9 kB / 1.53 GB, free: 1.664 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.45e-05/0.6322, allocations: 176.3 kB / 1.53 GB, free: 1.484 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.647e-05/0.6323, allocations: 176.3 kB / 1.531 GB, free: 1.305 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.027e-05/0.6324, allocations: 184.2 kB / 1.531 GB, free: 1.117 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.435e-05/0.6325, allocations: 188.3 kB / 1.531 GB, free: 0.9258 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.6326, allocations: 319.6 kB / 1.531 GB, free: 0.5898 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 8.501e-05/0.6327, allocations: 120.9 kB / 1.531 GB, free: 476 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.6328, allocations: 188.3 kB / 1.532 GB, free: 280 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.633, allocations: 101 kB / 1.532 GB, free: 172 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.6331, allocations: 192.2 kB / 1.532 GB, free: 15.97 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-05/0.6331, allocations: 101 kB / 1.532 GB, free: 15.87 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0001948/0.6333, allocations: 180.5 kB / 1.532 GB, free: 15.69 MB / 1.232 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6333, allocations: 0 / 1.532 GB, free: 15.69 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0003012/0.6336, allocations: 24 kB / 1.532 GB, free: 15.66 MB / 1.232 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 (0): * Single equations (assignments): 0 * 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.0004998/0.6341, allocations: 0.8358 MB / 1.533 GB, free: 14.8 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.6342, allocations: 12 kB / 1.533 GB, free: 14.79 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6342, allocations: 7.938 kB / 1.533 GB, free: 14.78 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.6342, allocations: 0 / 1.533 GB, free: 14.78 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007329/0.635, allocations: 0.508 MB / 1.534 GB, free: 14.27 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.6373, allocations: 2.045 MB / 1.536 GB, free: 12.12 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.6377, allocations: 0.7242 MB / 1.536 GB, free: 11.37 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 8.526e-05/0.6378, allocations: 21.47 kB / 1.536 GB, free: 11.35 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.6378, allocations: 43.42 kB / 1.536 GB, free: 11.3 MB / 1.232 GB Notification: Performance of SimCode: time 6.21e-07/0.6378, allocations: 4 kB / 1.536 GB, free: 11.3 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.6701, allocations: 4.016 MB / 1.54 GB, free: 7.43 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.67, allocations: 2.031 kB / 1.54 GB, free: 7.43 MB / 1.232 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.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.477105138999832]