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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.00109, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 192.7 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.801/2.801, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 62 kB / 0.8987 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2803, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1601/0.4405, allocations: 163.9 MB / 1.212 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005402/0.4459, allocations: 5.65 MB / 1.218 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.4461, allocations: 4 kB / 1.218 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003908/0.4465, allocations: 87.48 kB / 1.218 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.4468, allocations: 51.69 kB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.447, allocations: 31.97 kB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.4473, allocations: 211.1 kB / 1.218 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.4475, allocations: 94.59 kB / 1.218 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003172/0.4478, allocations: 103.6 kB / 1.218 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.448, allocations: 79.62 kB / 1.219 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.448, allocations: 12 kB / 1.219 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.902e-05/0.448, allocations: 8 kB / 1.219 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.096e-05/0.4481, allocations: 27.92 kB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.4482, allocations: 67.61 kB / 1.219 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.4485, allocations: 163.5 kB / 1.219 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4485, allocations: 0 / 1.219 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4485, allocations: 0 / 1.219 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.4485, allocations: 0 / 1.219 GB, free: 13.61 MB / 0.9825 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.0006497/0.4492, allocations: 438.7 kB / 1.219 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4492, allocations: 12.61 kB / 1.219 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.946e-05/0.4493, allocations: 42.56 kB / 1.219 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.177e-05/0.4494, allocations: 15.81 kB / 1.219 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.4498, allocations: 246.6 kB / 1.22 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.4498, allocations: 11.94 kB / 1.22 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.4498, allocations: 11.94 kB / 1.22 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.4502, allocations: 173.1 kB / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.4502, allocations: 0 / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.4502, allocations: 4 kB / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4502, allocations: 4 kB / 1.22 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.4504, allocations: 79.81 kB / 1.22 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008169/0.4512, allocations: 1.144 MB / 1.221 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.782e-05/0.4513, allocations: 185.1 kB / 1.221 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.4513, allocations: 84.08 kB / 1.221 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.4513, allocations: 75.28 kB / 1.221 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.4514, allocations: 105.8 kB / 1.221 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.4514, allocations: 0 / 1.221 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.769e-05/0.4515, allocations: 49.5 kB / 1.221 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.4515, allocations: 182.1 kB / 1.222 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.4518, allocations: 249 kB / 1.222 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.4518, allocations: 25.7 kB / 1.222 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.098e-05/0.4519, allocations: 139.8 kB / 1.222 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-06/0.4519, allocations: 4 kB / 1.222 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.996e-05/0.452, allocations: 17.72 kB / 1.222 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4521, allocations: 330.8 kB / 1.222 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.4521, allocations: 8 kB / 1.222 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/0.4522, allocations: 63.72 kB / 1.222 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.982e-05/0.4523, allocations: 52.23 kB / 1.222 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4523, allocations: 0 / 1.222 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001627/0.4524, allocations: 93.3 kB / 1.223 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4524, allocations: 4 kB / 1.223 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4525, allocations: 4 kB / 1.223 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4525, allocations: 4.156 kB / 1.223 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/0.4525, allocations: 8 kB / 1.223 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4526, allocations: 0 / 1.223 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.854e-05/0.4526, allocations: 23.77 kB / 1.223 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.4527, allocations: 0 / 1.223 GB, free: 9.434 MB / 0.9825 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.000116/0.4528, allocations: 209.1 kB / 1.223 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/0.4529, allocations: 124.7 kB / 1.223 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.233e-05/0.4529, allocations: 117.9 kB / 1.223 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.225e-05/0.453, allocations: 192.1 kB / 1.223 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-05/0.453, allocations: 180.4 kB / 1.223 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.594e-05/0.4531, allocations: 180.2 kB / 1.224 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.4533, allocations: 453.1 kB / 1.224 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.262e-05/0.4534, allocations: 109 kB / 1.224 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.4534, allocations: 108.9 kB / 1.224 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.907e-05/0.4535, allocations: 184.2 kB / 1.224 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.4535, allocations: 180.2 kB / 1.225 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.142e-05/0.4536, allocations: 188.3 kB / 1.225 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-05/0.4536, allocations: 180.2 kB / 1.225 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.4538, allocations: 319.6 kB / 1.225 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.229e-05/0.4539, allocations: 201.8 kB / 1.225 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.602e-05/0.4539, allocations: 180.3 kB / 1.226 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.454, allocations: 104.9 kB / 1.226 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.4541, allocations: 180.3 kB / 1.226 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.4541, allocations: 109.3 kB / 1.226 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00016/0.4543, allocations: 180.5 kB / 1.226 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4543, allocations: 0 / 1.226 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002502/0.4546, allocations: 20 kB / 1.226 GB, free: 5.594 MB / 0.9825 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.0003407/0.4549, allocations: 0.828 MB / 1.227 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.997e-05/0.455, allocations: 27.94 kB / 1.227 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.455, allocations: 0 / 1.227 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-06/0.455, allocations: 4 kB / 1.227 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005906/0.4556, allocations: 0.5014 MB / 1.227 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.4575, allocations: 2.052 MB / 1.229 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.4577, allocations: 0.7241 MB / 1.23 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.256e-05/0.4578, allocations: 21.55 kB / 1.23 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.4579, allocations: 39.42 kB / 1.23 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.4579, allocations: 0 / 1.23 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4154/0.8733, allocations: 3.725 MB / 1.234 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.8735, allocations: 208.7 kB / 1.234 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/3.02, allocations: 0 / 1.234 GB, free: 13.36 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/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) Reference file matches