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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008789/0.0008789, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005257/0.005257, allocations: 173.9 kB / 16.27 MB, free: 6.652 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.181/1.181, allocations: 223.3 MB / 240.3 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.167/2.167, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.0003268, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5465/0.5468, allocations: 142.4 MB / 0.9552 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1547/0.7015, allocations: 161.8 MB / 1.113 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005261/0.7068, allocations: 5.611 MB / 1.119 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.707, allocations: 7.938 kB / 1.119 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.7073, allocations: 83.44 kB / 1.119 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.7075, allocations: 47.67 kB / 1.119 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 9.866e-05/0.7076, allocations: 27.97 kB / 1.119 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.7079, allocations: 255.1 kB / 1.119 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.7081, allocations: 87.42 kB / 1.119 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.7082, allocations: 87.59 kB / 1.119 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.7083, allocations: 59.64 kB / 1.119 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.7084, allocations: 4 kB / 1.119 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/0.7084, allocations: 0 / 1.119 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.7084, allocations: 23.86 kB / 1.119 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 6.96e-05/0.7085, allocations: 81.38 kB / 1.119 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.7087, allocations: 147.4 kB / 1.119 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.7087, allocations: 0 / 1.119 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7087, allocations: 0 / 1.119 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.7087, allocations: 0 / 1.119 GB, free: 6.449 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.0004469/0.7092, allocations: 419 kB / 1.12 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.7092, allocations: 8.031 kB / 1.12 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.7092, allocations: 46.55 kB / 1.12 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.7093, allocations: 19.81 kB / 1.12 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.7095, allocations: 246.5 kB / 1.12 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.7095, allocations: 12.23 kB / 1.12 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.7096, allocations: 12 kB / 1.12 GB, free: 5.605 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.7098, allocations: 170.1 kB / 1.12 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.7098, allocations: 0 / 1.12 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.7098, allocations: 8 kB / 1.12 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.7098, allocations: 4 kB / 1.12 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.7099, allocations: 67.83 kB / 1.12 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008014/0.7108, allocations: 1.156 MB / 1.122 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 6.054e-05/0.7108, allocations: 165.1 kB / 1.122 GB, free: 3.926 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.7109, allocations: 88.11 kB / 1.122 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.7109, allocations: 75.28 kB / 1.122 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.7109, allocations: 117.8 kB / 1.122 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.7109, allocations: 4 kB / 1.122 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.043e-05/0.711, allocations: 45.5 kB / 1.122 GB, free: 3.582 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.7111, allocations: 178.1 kB / 1.122 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.7114, allocations: 249 kB / 1.122 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.7114, allocations: 29.7 kB / 1.122 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.7115, allocations: 131.9 kB / 1.123 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-06/0.7115, allocations: 0 / 1.123 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.7115, allocations: 9.719 kB / 1.123 GB, free: 2.949 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.7116, allocations: 330.8 kB / 1.123 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.7116, allocations: 15.98 kB / 1.123 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.365e-05/0.7117, allocations: 67.59 kB / 1.123 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.791e-05/0.7118, allocations: 52.23 kB / 1.123 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.7118, allocations: 0 / 1.123 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001377/0.7119, allocations: 93.3 kB / 1.123 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.7119, allocations: 4 kB / 1.123 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.712, allocations: 8.156 kB / 1.123 GB, free: 2.332 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.712, allocations: 0 / 1.123 GB, free: 2.332 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.119e-05/0.712, allocations: 8 kB / 1.123 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.712, allocations: 0 / 1.123 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.062e-05/0.7121, allocations: 19.75 kB / 1.123 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.7121, allocations: 0 / 1.123 GB, free: 2.305 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.0001101/0.7122, allocations: 205.1 kB / 1.123 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-05/0.7123, allocations: 124.7 kB / 1.124 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.055e-05/0.7124, allocations: 125.8 kB / 1.124 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.736e-05/0.7125, allocations: 188.2 kB / 1.124 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.587e-05/0.7125, allocations: 180.2 kB / 1.124 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.675e-05/0.7126, allocations: 176.4 kB / 1.124 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.7128, allocations: 461 kB / 1.125 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-05/0.7129, allocations: 109 kB / 1.125 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.7129, allocations: 104.9 kB / 1.125 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-05/0.713, allocations: 176.3 kB / 1.125 GB, free: 380 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.015e-05/0.713, allocations: 180.3 kB / 1.125 GB, free: 192 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.856e-05/0.7131, allocations: 184.3 kB / 1.125 GB, free: 0 / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.312e-05/0.7132, allocations: 184.3 kB / 1.125 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.7133, allocations: 331.5 kB / 1.126 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.327e-05/0.7134, allocations: 193.9 kB / 1.126 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.7135, allocations: 180.2 kB / 1.126 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-05/0.7136, allocations: 105 kB / 1.126 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.7137, allocations: 188.2 kB / 1.126 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.7137, allocations: 104.9 kB / 1.127 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001575/0.7139, allocations: 184.5 kB / 1.127 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7139, allocations: 0 / 1.127 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002283/0.7141, allocations: 24 kB / 1.127 GB, free: 14.45 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.000344/0.7145, allocations: 0.8241 MB / 1.128 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.673e-05/0.7145, allocations: 16 kB / 1.128 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7145, allocations: 7.938 kB / 1.128 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.7145, allocations: 0 / 1.128 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.7151, allocations: 0.5847 MB / 1.128 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.7169, allocations: 2.067 MB / 1.13 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.7172, allocations: 0.7244 MB / 1.131 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 7.85e-05/0.7173, allocations: 17.55 kB / 1.131 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/0.7173, allocations: 39.42 kB / 1.131 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of SimCode: time 3.11e-07/0.7173, allocations: 0 / 1.131 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.078/1.795, allocations: 3.558 MB / 1.134 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/1.795, allocations: 189.1 kB / 1.135 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/3.446, allocations: 0 / 1.135 GB, free: 6.34 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