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.001274/0.001274, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.31/2.31, allocations: 390.3 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.91 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6997/0.7011, allocations: 140.4 MB / 0.9497 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1753/0.8765, allocations: 166.1 MB / 1.112 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005875/0.8824, allocations: 5.7 MB / 1.117 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.8826, allocations: 7.938 kB / 1.117 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004035/0.883, allocations: 95.31 kB / 1.118 GB, free: 5.523 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.8833, allocations: 51.62 kB / 1.118 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.8835, allocations: 43.88 kB / 1.118 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.8838, allocations: 215.1 kB / 1.118 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.884, allocations: 90.62 kB / 1.118 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.8843, allocations: 95.64 kB / 1.118 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.8844, allocations: 79.62 kB / 1.118 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.8845, allocations: 8 kB / 1.118 GB, free: 4.949 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 3.349e-05/0.8845, allocations: 12 kB / 1.118 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.8846, allocations: 31.86 kB / 1.118 GB, free: 4.906 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 9.189e-05/0.8847, allocations: 71.66 kB / 1.118 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.8849, allocations: 155.4 kB / 1.118 GB, free: 4.684 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8849, allocations: 0 / 1.118 GB, free: 4.684 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8849, allocations: 4 kB / 1.118 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.8849, allocations: 0 / 1.118 GB, free: 4.68 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.0006543/0.8856, allocations: 440.5 kB / 1.119 GB, free: 4.203 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.8856, allocations: 12.03 kB / 1.119 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.8857, allocations: 46.55 kB / 1.119 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.8857, allocations: 15.81 kB / 1.119 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.8861, allocations: 246.5 kB / 1.119 GB, free: 3.84 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.8861, allocations: 8.234 kB / 1.119 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.8861, allocations: 12 kB / 1.119 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.8864, allocations: 173.3 kB / 1.119 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.8864, allocations: 4 kB / 1.119 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.8864, allocations: 4 kB / 1.119 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.8864, allocations: 4 kB / 1.119 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.8866, allocations: 75.84 kB / 1.119 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009727/0.8875, allocations: 1.148 MB / 1.121 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.493e-05/0.8876, allocations: 173.1 kB / 1.121 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.8877, allocations: 84.08 kB / 1.121 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.8877, allocations: 79.28 kB / 1.121 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.8878, allocations: 109.8 kB / 1.121 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.464e-06/0.8878, allocations: 0 / 1.121 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.816e-05/0.8879, allocations: 45.45 kB / 1.121 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/0.888, allocations: 178.1 kB / 1.121 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.8882, allocations: 253 kB / 1.121 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.8883, allocations: 25.7 kB / 1.121 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.8884, allocations: 135.8 kB / 1.122 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-06/0.8884, allocations: 0 / 1.122 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.8884, allocations: 33.61 kB / 1.122 GB, free: 1.137 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.881e-05/0.8885, allocations: 322.8 kB / 1.122 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.8886, allocations: 8 kB / 1.122 GB, free: 0.8047 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.8886, allocations: 63.72 kB / 1.122 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.664e-05/0.8887, allocations: 60.16 kB / 1.122 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8887, allocations: 0 / 1.122 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001549/0.8889, allocations: 93.41 kB / 1.122 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.8889, allocations: 5.406 kB / 1.122 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.8889, allocations: 128 / 1.122 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.8889, allocations: 4 kB / 1.122 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.889, allocations: 11.98 kB / 1.122 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.889, allocations: 4 kB / 1.122 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.498e-05/0.8891, allocations: 11.84 kB / 1.122 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.8891, allocations: 8 kB / 1.122 GB, free: 0.5 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.0001141/0.8892, allocations: 209 kB / 1.122 GB, free: 292 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.8893, allocations: 124.8 kB / 1.122 GB, free: 160 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/0.8894, allocations: 117.8 kB / 1.123 GB, free: 36 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.657e-05/0.8894, allocations: 184.2 kB / 1.123 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.505e-05/0.8895, allocations: 176.3 kB / 1.123 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-05/0.8896, allocations: 180.2 kB / 1.123 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.8898, allocations: 461.1 kB / 1.124 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.971e-05/0.8899, allocations: 101 kB / 1.124 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.8899, allocations: 108.9 kB / 1.124 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.272e-05/0.89, allocations: 184.2 kB / 1.124 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.673e-05/0.89, allocations: 180.2 kB / 1.124 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-05/0.8901, allocations: 176.3 kB / 1.124 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.364e-05/0.8902, allocations: 184.4 kB / 1.124 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.8903, allocations: 327.6 kB / 1.125 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.863e-05/0.8904, allocations: 193.8 kB / 1.125 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/0.8905, allocations: 184.3 kB / 1.125 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.8906, allocations: 113 kB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.8906, allocations: 184.2 kB / 1.125 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.8907, allocations: 105 kB / 1.125 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001553/0.8908, allocations: 184.5 kB / 1.126 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.8908, allocations: 0 / 1.126 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002588/0.8911, allocations: 20 kB / 1.126 GB, free: 12.66 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.0003835/0.8915, allocations: 0.8241 MB / 1.126 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 9.621e-05/0.8916, allocations: 23.92 kB / 1.127 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8916, allocations: 0 / 1.127 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.8916, allocations: 0 / 1.127 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006144/0.8922, allocations: 0.5081 MB / 1.127 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.8941, allocations: 2.038 MB / 1.129 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.8943, allocations: 0.7202 MB / 1.13 GB, free: 8.383 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 8.734e-05/0.8944, allocations: 17.55 kB / 1.13 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.8945, allocations: 43.36 kB / 1.13 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of SimCode: time 2.11e-07/0.8945, allocations: 0 / 1.13 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04751/0.942, allocations: 3.821 MB / 1.133 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/8.692, allocations: 8.078 kB / 1.133 GB, free: 4.574 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