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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005734/0.005734, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001982/0.001982, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.242/1.242, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.31/2.31, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 67.89 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5785/0.5802, allocations: 159.1 MB / 1.22 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1546/0.7349, allocations: 166.1 MB / 1.382 GB, free: 11.28 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.004999/0.7399, allocations: 5.715 MB / 1.388 GB, free: 5.547 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.256e-05/0.74, allocations: 4 kB / 1.388 GB, free: 5.543 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.7403, allocations: 91.31 kB / 1.388 GB, free: 5.453 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.7404, allocations: 63.61 kB / 1.388 GB, free: 5.391 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001059/0.7406, allocations: 35.91 kB / 1.388 GB, free: 5.355 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.7408, allocations: 215.1 kB / 1.388 GB, free: 5.145 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.741, allocations: 94.59 kB / 1.388 GB, free: 5.051 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.7412, allocations: 103.6 kB / 1.389 GB, free: 4.949 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.7413, allocations: 67.64 kB / 1.389 GB, free: 4.883 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.7413, allocations: 12 kB / 1.389 GB, free: 4.871 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 2.226e-05/0.7414, allocations: 12 kB / 1.389 GB, free: 4.859 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.7414, allocations: 27.92 kB / 1.389 GB, free: 4.832 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 6.946e-05/0.7415, allocations: 71.61 kB / 1.389 GB, free: 4.762 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.7417, allocations: 166.9 kB / 1.389 GB, free: 4.602 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.7417, allocations: 0 / 1.389 GB, free: 4.602 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7417, allocations: 0 / 1.389 GB, free: 4.602 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.7417, allocations: 0 / 1.389 GB, free: 4.602 MB / 1.107 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.0004965/0.7422, allocations: 446.5 kB / 1.389 GB, free: 4.117 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.7422, allocations: 16.02 kB / 1.389 GB, free: 4.102 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.913e-05/0.7423, allocations: 42.56 kB / 1.389 GB, free: 4.051 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.7423, allocations: 15.91 kB / 1.389 GB, free: 4.035 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.7426, allocations: 257.5 kB / 1.39 GB, free: 3.746 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.7426, allocations: 8 kB / 1.39 GB, free: 3.738 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.7426, allocations: 12 kB / 1.39 GB, free: 3.727 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.7428, allocations: 168.4 kB / 1.39 GB, free: 3.531 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.7428, allocations: 0 / 1.39 GB, free: 3.531 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.7429, allocations: 8 kB / 1.39 GB, free: 3.523 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.7429, allocations: 4 kB / 1.39 GB, free: 3.52 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.743, allocations: 71.83 kB / 1.39 GB, free: 3.449 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007688/0.7437, allocations: 1.152 MB / 1.391 GB, free: 2.219 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 7.441e-05/0.7438, allocations: 165.1 kB / 1.391 GB, free: 2.047 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.7439, allocations: 88.02 kB / 1.391 GB, free: 1.957 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.7439, allocations: 75.28 kB / 1.391 GB, free: 1.883 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.273e-05/0.744, allocations: 117.8 kB / 1.391 GB, free: 1.758 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.744, allocations: 3.938 kB / 1.391 GB, free: 1.754 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 6.938e-05/0.744, allocations: 49.55 kB / 1.391 GB, free: 1.699 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/0.7441, allocations: 178.1 kB / 1.392 GB, free: 1.5 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.7444, allocations: 245 kB / 1.392 GB, free: 1.25 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.7444, allocations: 29.7 kB / 1.392 GB, free: 1.215 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.7445, allocations: 128 kB / 1.392 GB, free: 1.086 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.7445, allocations: 4 kB / 1.392 GB, free: 1.082 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.7445, allocations: 29.61 kB / 1.392 GB, free: 1.047 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.7446, allocations: 326.8 kB / 1.392 GB, free: 0.7188 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.7447, allocations: 15.92 kB / 1.392 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.787e-05/0.7447, allocations: 67.72 kB / 1.392 GB, free: 0.6094 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.205e-05/0.7448, allocations: 52.23 kB / 1.392 GB, free: 0.543 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.7448, allocations: 0 / 1.392 GB, free: 0.543 MB / 1.107 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001313/0.7449, allocations: 93.48 kB / 1.393 GB, free: 456 kB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.7449, allocations: 8 kB / 1.393 GB, free: 448 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.7449, allocations: 0 / 1.393 GB, free: 448 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.745, allocations: 0 / 1.393 GB, free: 448 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.627e-05/0.745, allocations: 8 kB / 1.393 GB, free: 440 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.745, allocations: 4 kB / 1.393 GB, free: 436 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.633e-05/0.7451, allocations: 19.81 kB / 1.393 GB, free: 416 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.7451, allocations: 4 kB / 1.393 GB, free: 412 kB / 1.107 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.0001115/0.7452, allocations: 203.8 kB / 1.393 GB, free: 200 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.7453, allocations: 128.8 kB / 1.393 GB, free: 64 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.181e-05/0.7454, allocations: 117.9 kB / 1.393 GB, free: 15.94 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-05/0.7454, allocations: 184.2 kB / 1.393 GB, free: 15.75 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.229e-05/0.7455, allocations: 184.3 kB / 1.393 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.196e-05/0.7456, allocations: 184.2 kB / 1.394 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.7458, allocations: 457.1 kB / 1.394 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.519e-05/0.7459, allocations: 101 kB / 1.394 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.7459, allocations: 104.9 kB / 1.394 GB, free: 14.66 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.854e-05/0.746, allocations: 176.3 kB / 1.394 GB, free: 14.48 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/0.746, allocations: 184.2 kB / 1.395 GB, free: 14.29 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.705e-05/0.7461, allocations: 176.5 kB / 1.395 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.918e-05/0.7462, allocations: 192.3 kB / 1.395 GB, free: 13.92 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.7463, allocations: 319.6 kB / 1.395 GB, free: 13.58 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-05/0.7464, allocations: 209.9 kB / 1.395 GB, free: 13.35 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-05/0.7465, allocations: 180.2 kB / 1.396 GB, free: 13.17 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.7466, allocations: 109 kB / 1.396 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.7467, allocations: 180.2 kB / 1.396 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/0.7467, allocations: 109 kB / 1.396 GB, free: 12.76 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001498/0.7469, allocations: 180.5 kB / 1.396 GB, free: 12.59 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7469, allocations: 0 / 1.396 GB, free: 12.59 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002151/0.7471, allocations: 24 kB / 1.396 GB, free: 12.56 MB / 1.123 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.000361/0.7475, allocations: 0.8286 MB / 1.397 GB, free: 11.7 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 6.869e-05/0.7475, allocations: 23.92 kB / 1.397 GB, free: 11.68 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.7475, allocations: 0 / 1.397 GB, free: 11.68 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.7476, allocations: 3.938 kB / 1.397 GB, free: 11.68 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.7481, allocations: 0.5005 MB / 1.397 GB, free: 11.17 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.7498, allocations: 2.042 MB / 1.399 GB, free: 9.027 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.7501, allocations: 0.7241 MB / 1.4 GB, free: 8.277 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 6.062e-05/0.7501, allocations: 21.55 kB / 1.4 GB, free: 8.254 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.7502, allocations: 39.42 kB / 1.4 GB, free: 8.215 MB / 1.123 GB Notification: Performance of SimCode: time 2e-07/0.7502, allocations: 0 / 1.4 GB, free: 8.215 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.789/3.54, allocations: 3.879 MB / 1.404 GB, free: 4.43 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/18.31, allocations: 15.23 kB / 1.404 GB, free: 4.418 MB / 1.123 GB (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 --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) 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) Reference file matches