Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001827/0.001827, 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.002357/0.002357, allocations: 214.7 kB / 22.25 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 7.984 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.173/3.173, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_12_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.002004/0.002004, allocations: 76.03 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.351, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2082/0.5592, allocations: 169.7 MB / 1.492 GB, free: 7.562 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007761/0.567, allocations: 5.785 MB / 1.497 GB, free: 1.758 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.5673, allocations: 7.938 kB / 1.497 GB, free: 1.75 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004713/0.5678, allocations: 103.2 kB / 1.497 GB, free: 1.648 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0002676/0.568, allocations: 55.61 kB / 1.497 GB, free: 1.594 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.5682, allocations: 35.95 kB / 1.497 GB, free: 1.559 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.5686, allocations: 219.1 kB / 1.498 GB, free: 1.344 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.5688, allocations: 54.88 kB / 1.498 GB, free: 1.289 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.569, allocations: 103.6 kB / 1.498 GB, free: 1.188 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.5693, allocations: 79.56 kB / 1.498 GB, free: 1.109 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.5693, allocations: 16 kB / 1.498 GB, free: 1.094 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 2.494e-05/0.5693, allocations: 8 kB / 1.498 GB, free: 1.086 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.5694, allocations: 31.86 kB / 1.498 GB, free: 1.055 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 8.632e-05/0.5695, allocations: 67.66 kB / 1.498 GB, free: 0.9883 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.5697, allocations: 167.2 kB / 1.498 GB, free: 0.8242 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5697, allocations: 0 / 1.498 GB, free: 0.8242 MB / 1.186 GB Notification: Performance of FrontEnd: time 4.188e-06/0.5697, allocations: 4 kB / 1.498 GB, free: 0.8203 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.5697, allocations: 0 / 1.498 GB, free: 0.8203 MB / 1.186 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.0006879/0.5704, allocations: 365.4 kB / 1.499 GB, free: 444 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5705, allocations: 12.03 kB / 1.499 GB, free: 432 kB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.677e-05/0.5705, allocations: 50.55 kB / 1.499 GB, free: 372 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.5706, allocations: 15.91 kB / 1.499 GB, free: 356 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.5709, allocations: 198.6 kB / 1.499 GB, free: 132 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.571, allocations: 11.94 kB / 1.499 GB, free: 120 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.571, allocations: 12 kB / 1.499 GB, free: 108 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.5713, allocations: 173.4 kB / 1.499 GB, free: 15.91 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.5713, allocations: 0 / 1.499 GB, free: 15.91 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.5714, allocations: 7.984 kB / 1.499 GB, free: 15.9 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.5714, allocations: 4 kB / 1.499 GB, free: 15.89 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.5715, allocations: 75.83 kB / 1.499 GB, free: 15.82 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.5726, allocations: 1.112 MB / 1.5 GB, free: 14.64 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.5727, allocations: 165.1 kB / 1.5 GB, free: 14.46 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.5727, allocations: 84.08 kB / 1.5 GB, free: 14.38 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.5728, allocations: 75.31 kB / 1.5 GB, free: 14.3 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.65e-05/0.5728, allocations: 117.8 kB / 1.501 GB, free: 14.18 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.5728, allocations: 0 / 1.501 GB, free: 14.18 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.000108/0.5729, allocations: 49.61 kB / 1.501 GB, free: 14.12 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.573, allocations: 182.1 kB / 1.501 GB, free: 13.92 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.5734, allocations: 241 kB / 1.501 GB, free: 13.67 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.5734, allocations: 29.7 kB / 1.501 GB, free: 13.64 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.5735, allocations: 139.9 kB / 1.501 GB, free: 13.5 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.5735, allocations: 16 / 1.501 GB, free: 13.5 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.5736, allocations: 21.72 kB / 1.501 GB, free: 13.47 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.5737, allocations: 330.8 kB / 1.502 GB, free: 13.14 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.362e-05/0.5738, allocations: 7.984 kB / 1.502 GB, free: 13.13 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-05/0.5738, allocations: 75.72 kB / 1.502 GB, free: 13.03 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.709e-05/0.5739, allocations: 48.23 kB / 1.502 GB, free: 12.96 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.5739, allocations: 4 kB / 1.502 GB, free: 12.96 MB / 1.201 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001816/0.5741, allocations: 89.55 kB / 1.502 GB, free: 12.87 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.5741, allocations: 13.5 kB / 1.502 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5741, allocations: 0 / 1.502 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5741, allocations: 0 / 1.502 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.5742, allocations: 8 kB / 1.502 GB, free: 12.85 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.5742, allocations: 4 kB / 1.502 GB, free: 12.84 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.756e-05/0.5743, allocations: 19.84 kB / 1.502 GB, free: 12.82 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.5743, allocations: 7.984 kB / 1.502 GB, free: 12.82 MB / 1.201 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.000193/0.5745, allocations: 197.7 kB / 1.502 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.5746, allocations: 136.8 kB / 1.502 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.353e-05/0.5747, allocations: 117.8 kB / 1.502 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-05/0.5748, allocations: 180.2 kB / 1.502 GB, free: 12.17 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.467e-05/0.5749, allocations: 180.2 kB / 1.503 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.262e-05/0.5749, allocations: 180.3 kB / 1.503 GB, free: 11.8 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.5754, allocations: 432.1 kB / 1.503 GB, free: 11.33 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.637e-05/0.5755, allocations: 105 kB / 1.503 GB, free: 11.22 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.724e-05/0.5755, allocations: 104.9 kB / 1.503 GB, free: 11.11 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001237/0.5757, allocations: 180.2 kB / 1.504 GB, free: 10.93 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.683e-05/0.5757, allocations: 180.3 kB / 1.504 GB, free: 10.74 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.65e-05/0.5758, allocations: 180.2 kB / 1.504 GB, free: 10.56 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.542e-05/0.5759, allocations: 188.2 kB / 1.504 GB, free: 10.37 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.5762, allocations: 323.6 kB / 1.504 GB, free: 10.03 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-05/0.5763, allocations: 120.9 kB / 1.504 GB, free: 9.902 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.5764, allocations: 184.2 kB / 1.505 GB, free: 9.715 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.5765, allocations: 105 kB / 1.505 GB, free: 9.605 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.001e-05/0.5766, allocations: 180.2 kB / 1.505 GB, free: 9.422 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/0.5767, allocations: 101 kB / 1.505 GB, free: 9.316 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001914/0.5769, allocations: 188.5 kB / 1.505 GB, free: 9.137 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5769, allocations: 0 / 1.505 GB, free: 9.137 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000278/0.5771, allocations: 20 kB / 1.505 GB, free: 9.117 MB / 1.201 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.0005892/0.5777, allocations: 0.8242 MB / 1.506 GB, free: 8.262 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 9.341e-05/0.5778, allocations: 16 kB / 1.506 GB, free: 8.246 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5778, allocations: 0 / 1.506 GB, free: 8.246 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 4.96e-06/0.5778, allocations: 15.86 kB / 1.506 GB, free: 8.23 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006594/0.5785, allocations: 0.5081 MB / 1.507 GB, free: 7.719 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.5809, allocations: 2.039 MB / 1.509 GB, free: 5.578 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.5814, allocations: 0.7242 MB / 1.509 GB, free: 4.828 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 8.66e-05/0.5815, allocations: 21.52 kB / 1.509 GB, free: 4.805 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.5815, allocations: 43.42 kB / 1.509 GB, free: 4.766 MB / 1.201 GB Notification: Performance of SimCode: time 3.2e-07/0.5815, allocations: 0 / 1.509 GB, free: 4.766 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.6157, allocations: 4.023 MB / 1.513 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.9, allocations: 8.906 kB / 1.513 GB, free: 0.8984 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.614331166958436]