Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_9_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.001134/0.001134, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001093/0.001093, allocations: 189.4 kB / 16.25 MB, free: 6.633 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.246/1.246, 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 9.1.3-maint.9.1.x/package.mo): time 2.13/2.13, allocations: 390.2 MB / 0.6644 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 55.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4825, allocations: 140.4 MB / 0.9492 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1479/0.6305, allocations: 163.9 MB / 1.109 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004527/0.635, allocations: 5.642 MB / 1.115 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.6351, allocations: 7.938 kB / 1.115 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.6354, allocations: 83.5 kB / 1.115 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.6356, allocations: 51.67 kB / 1.115 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 9.579e-05/0.6357, allocations: 31.98 kB / 1.115 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.6359, allocations: 215.1 kB / 1.115 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.6361, allocations: 90.56 kB / 1.115 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.6363, allocations: 95.64 kB / 1.115 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.6364, allocations: 83.62 kB / 1.115 GB, free: 7.27 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.6364, allocations: 12 kB / 1.115 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 1.896e-05/0.6365, allocations: 8 kB / 1.115 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.6365, allocations: 31.86 kB / 1.115 GB, free: 7.219 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 6.515e-05/0.6366, allocations: 67.67 kB / 1.115 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.6367, allocations: 159.4 kB / 1.116 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6367, allocations: 0 / 1.116 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.103e-06/0.6367, allocations: 0 / 1.116 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.6367, allocations: 0 / 1.116 GB, free: 6.996 MB / 0.8731 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.0004683/0.6372, allocations: 438.9 kB / 1.116 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.6373, allocations: 12.03 kB / 1.116 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.6373, allocations: 46.55 kB / 1.116 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.6373, allocations: 15.81 kB / 1.116 GB, free: 6.438 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.6376, allocations: 250.5 kB / 1.116 GB, free: 6.152 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.6376, allocations: 8.234 kB / 1.116 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.6376, allocations: 8 kB / 1.116 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.6378, allocations: 174.3 kB / 1.117 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.6378, allocations: 4 kB / 1.117 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.6379, allocations: 7.984 kB / 1.117 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.6379, allocations: 4 kB / 1.117 GB, free: 5.922 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.638, allocations: 71.84 kB / 1.117 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007117/0.6387, allocations: 1.148 MB / 1.118 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 6.919e-05/0.6388, allocations: 173.1 kB / 1.118 GB, free: 4.445 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.6388, allocations: 92.02 kB / 1.118 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.6388, allocations: 75.28 kB / 1.118 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.6389, allocations: 105.8 kB / 1.118 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.134e-06/0.6389, allocations: 0 / 1.118 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 6.505e-05/0.639, allocations: 45.45 kB / 1.118 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.639, allocations: 178.1 kB / 1.118 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.6392, allocations: 253 kB / 1.119 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.6393, allocations: 29.7 kB / 1.119 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.6394, allocations: 135.9 kB / 1.119 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-06/0.6394, allocations: 7.984 kB / 1.119 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.6394, allocations: 21.62 kB / 1.119 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.6395, allocations: 322.8 kB / 1.119 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.6395, allocations: 15.92 kB / 1.119 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.726e-05/0.6396, allocations: 63.73 kB / 1.119 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.1e-05/0.6396, allocations: 52.22 kB / 1.119 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6397, allocations: 4 kB / 1.119 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001315/0.6398, allocations: 93.25 kB / 1.119 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.6398, allocations: 7.984 kB / 1.119 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.6398, allocations: 0 / 1.119 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.6398, allocations: 4 kB / 1.119 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.047e-05/0.6399, allocations: 8.125 kB / 1.119 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6399, allocations: 7.984 kB / 1.119 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.786e-05/0.64, allocations: 11.84 kB / 1.119 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.64, allocations: 8.156 kB / 1.119 GB, free: 2.809 MB / 0.8731 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.000109/0.6401, allocations: 213.1 kB / 1.12 GB, free: 2.59 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.6402, allocations: 124.7 kB / 1.12 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.38e-05/0.6402, allocations: 117.8 kB / 1.12 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-05/0.6403, allocations: 184.2 kB / 1.12 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.455e-05/0.6403, allocations: 176.3 kB / 1.12 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-05/0.6404, allocations: 188.2 kB / 1.12 GB, free: 1.781 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.6406, allocations: 449.1 kB / 1.121 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.291e-05/0.6407, allocations: 101 kB / 1.121 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.6407, allocations: 112.9 kB / 1.121 GB, free: 1.062 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.061e-05/0.6408, allocations: 180.3 kB / 1.121 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/0.6408, allocations: 184.2 kB / 1.121 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.121e-05/0.6409, allocations: 176.3 kB / 1.122 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.551e-05/0.6409, allocations: 180.3 kB / 1.122 GB, free: 336 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.6411, allocations: 323.5 kB / 1.122 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.002e-05/0.6411, allocations: 193.8 kB / 1.122 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.126e-05/0.6412, allocations: 192.2 kB / 1.122 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.6413, allocations: 108.9 kB / 1.122 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.6414, allocations: 184.2 kB / 1.123 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.6414, allocations: 101 kB / 1.123 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001459/0.6416, allocations: 184.5 kB / 1.123 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6416, allocations: 0 / 1.123 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002222/0.6418, allocations: 24 kB / 1.123 GB, free: 14.97 MB / 0.8887 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.0003238/0.6421, allocations: 0.8241 MB / 1.124 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 7.229e-05/0.6422, allocations: 19.94 kB / 1.124 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.6422, allocations: 320 / 1.124 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.6422, allocations: 8 kB / 1.124 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005381/0.6428, allocations: 0.5078 MB / 1.124 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.6444, allocations: 2.056 MB / 1.126 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.6447, allocations: 0.7163 MB / 1.127 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 6.701e-05/0.6447, allocations: 25.53 kB / 1.127 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.6448, allocations: 39.42 kB / 1.127 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of SimCode: time 2.2e-07/0.6448, allocations: 0 / 1.127 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.804/2.449, allocations: 3.726 MB / 1.131 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003343/2.45, allocations: 195.5 kB / 1.131 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/4.223, allocations: 0 / 1.131 GB, free: 6.75 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches