Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001931/0.001931, allocations: 110.4 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.002454/0.002454, allocations: 215.5 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.612/1.612, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.864/2.864, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_11_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.002325/0.002325, allocations: 68.55 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3505, allocations: 169.9 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.215/0.5655, allocations: 169.7 MB / 1.449 GB, free: 1.348 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006541/0.572, allocations: 5.793 MB / 1.455 GB, free: 11.54 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.5723, allocations: 7.938 kB / 1.455 GB, free: 11.53 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004628/0.5728, allocations: 99.31 kB / 1.455 GB, free: 11.43 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.573, allocations: 59.61 kB / 1.455 GB, free: 11.37 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.5732, allocations: 35.89 kB / 1.455 GB, free: 11.34 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.5735, allocations: 215.1 kB / 1.455 GB, free: 11.12 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.5737, allocations: 58.86 kB / 1.455 GB, free: 11.06 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.5739, allocations: 103.6 kB / 1.455 GB, free: 10.96 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.5741, allocations: 71.69 kB / 1.455 GB, free: 10.89 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.5741, allocations: 12 kB / 1.455 GB, free: 10.88 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 2.308e-05/0.5741, allocations: 8 kB / 1.455 GB, free: 10.87 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.5742, allocations: 35.86 kB / 1.455 GB, free: 10.84 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 8.122e-05/0.5742, allocations: 71.61 kB / 1.456 GB, free: 10.77 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.5745, allocations: 163.2 kB / 1.456 GB, free: 10.61 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5745, allocations: 0 / 1.456 GB, free: 10.61 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5745, allocations: 0 / 1.456 GB, free: 10.61 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.5745, allocations: 0 / 1.456 GB, free: 10.61 MB / 1.154 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.0007361/0.5752, allocations: 373.4 kB / 1.456 GB, free: 10.21 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.5753, allocations: 8.031 kB / 1.456 GB, free: 10.2 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.244e-05/0.5753, allocations: 46.55 kB / 1.456 GB, free: 10.15 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.5754, allocations: 23.91 kB / 1.456 GB, free: 10.12 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.5757, allocations: 195.8 kB / 1.456 GB, free: 9.91 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.5757, allocations: 8 kB / 1.456 GB, free: 9.902 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.5757, allocations: 8 kB / 1.456 GB, free: 9.895 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.576, allocations: 169.1 kB / 1.456 GB, free: 9.699 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.576, allocations: 4 kB / 1.456 GB, free: 9.695 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.576, allocations: 7.984 kB / 1.456 GB, free: 9.688 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.576, allocations: 4 kB / 1.456 GB, free: 9.684 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.5762, allocations: 71.83 kB / 1.457 GB, free: 9.613 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009943/0.5772, allocations: 1.113 MB / 1.458 GB, free: 8.43 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.5773, allocations: 173.1 kB / 1.458 GB, free: 8.25 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.5773, allocations: 88.02 kB / 1.458 GB, free: 8.16 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.5773, allocations: 75.28 kB / 1.458 GB, free: 8.086 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.512e-05/0.5774, allocations: 105.8 kB / 1.458 GB, free: 7.973 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.5774, allocations: 4 kB / 1.458 GB, free: 7.969 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 9.243e-05/0.5775, allocations: 45.55 kB / 1.458 GB, free: 7.918 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.5776, allocations: 182.1 kB / 1.458 GB, free: 7.715 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.5779, allocations: 252.9 kB / 1.459 GB, free: 7.461 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.5779, allocations: 25.7 kB / 1.459 GB, free: 7.43 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.578, allocations: 140 kB / 1.459 GB, free: 7.289 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-06/0.578, allocations: 0 / 1.459 GB, free: 7.289 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.5781, allocations: 17.72 kB / 1.459 GB, free: 7.266 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.5782, allocations: 330.8 kB / 1.459 GB, free: 6.934 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.831e-05/0.5782, allocations: 19.92 kB / 1.459 GB, free: 6.914 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-05/0.5783, allocations: 59.72 kB / 1.459 GB, free: 6.828 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.672e-05/0.5784, allocations: 56.27 kB / 1.459 GB, free: 6.758 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5784, allocations: 0 / 1.459 GB, free: 6.758 MB / 1.154 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001729/0.5786, allocations: 93.39 kB / 1.459 GB, free: 6.66 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.5786, allocations: 4 kB / 1.459 GB, free: 6.656 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5786, allocations: 8.156 kB / 1.459 GB, free: 6.648 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.5786, allocations: 0 / 1.459 GB, free: 6.648 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.427e-05/0.5787, allocations: 8 kB / 1.459 GB, free: 6.641 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.5787, allocations: 0 / 1.459 GB, free: 6.641 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.664e-05/0.5787, allocations: 19.84 kB / 1.459 GB, free: 6.621 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.5787, allocations: 0 / 1.459 GB, free: 6.621 MB / 1.154 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.000152/0.5789, allocations: 217 kB / 1.459 GB, free: 6.398 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.883e-05/0.579, allocations: 120.8 kB / 1.46 GB, free: 6.273 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.556e-05/0.579, allocations: 125.8 kB / 1.46 GB, free: 6.145 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.886e-05/0.5791, allocations: 180.3 kB / 1.46 GB, free: 5.961 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-05/0.5792, allocations: 184.3 kB / 1.46 GB, free: 5.773 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.638e-05/0.5793, allocations: 180.2 kB / 1.46 GB, free: 5.59 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.5796, allocations: 424.3 kB / 1.461 GB, free: 5.125 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.334e-05/0.5796, allocations: 113 kB / 1.461 GB, free: 5.008 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.5797, allocations: 108.9 kB / 1.461 GB, free: 4.895 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-05/0.5798, allocations: 176.3 kB / 1.461 GB, free: 4.715 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.79e-05/0.5798, allocations: 180.2 kB / 1.461 GB, free: 4.531 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.988e-05/0.5799, allocations: 180.3 kB / 1.461 GB, free: 4.348 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.475e-05/0.58, allocations: 176.3 kB / 1.462 GB, free: 4.168 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.5802, allocations: 331.6 kB / 1.462 GB, free: 3.82 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/0.5803, allocations: 120.8 kB / 1.462 GB, free: 3.695 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.5804, allocations: 184.2 kB / 1.462 GB, free: 3.508 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.5805, allocations: 105 kB / 1.462 GB, free: 3.398 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.5806, allocations: 184.2 kB / 1.462 GB, free: 3.211 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/0.5806, allocations: 101 kB / 1.462 GB, free: 3.105 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001818/0.5808, allocations: 188.5 kB / 1.463 GB, free: 2.926 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5808, allocations: 0 / 1.463 GB, free: 2.926 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002549/0.5811, allocations: 23.94 kB / 1.463 GB, free: 2.902 MB / 1.154 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.000473/0.5815, allocations: 0.8242 MB / 1.464 GB, free: 2.047 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.5816, allocations: 23.88 kB / 1.464 GB, free: 2.023 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5816, allocations: 0 / 1.464 GB, free: 2.023 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.5816, allocations: 0 / 1.464 GB, free: 2.023 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006637/0.5823, allocations: 0.5043 MB / 1.464 GB, free: 1.516 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.5845, allocations: 2.05 MB / 1.466 GB, free: 15.36 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.5849, allocations: 0.7164 MB / 1.467 GB, free: 14.61 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 7.768e-05/0.5849, allocations: 21.47 kB / 1.467 GB, free: 14.59 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/0.585, allocations: 43.42 kB / 1.467 GB, free: 14.55 MB / 1.17 GB Notification: Performance of SimCode: time 2.8e-07/0.585, allocations: 0 / 1.467 GB, free: 14.55 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/0.6176, allocations: 4.024 MB / 1.471 GB, free: 10.69 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.93, allocations: 2.234 kB / 1.471 GB, free: 10.69 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.86252597393468]