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.00566/0.00566, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001175/0.001175, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.268/1.268, 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.0.1-master/package.mo): time 2.439/2.439, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 68.11 kB / 1.054 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7557/0.757, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1611/0.9182, allocations: 166.1 MB / 1.369 GB, free: 6.844 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.005694/0.9239, allocations: 5.707 MB / 1.375 GB, free: 1.117 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003077/0.9243, allocations: 4 kB / 1.375 GB, free: 1.113 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.9248, allocations: 99.31 kB / 1.375 GB, free: 1.016 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.9251, allocations: 51.62 kB / 1.375 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.9253, allocations: 43.88 kB / 1.375 GB, free: 0.9219 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.000332/0.9256, allocations: 219.1 kB / 1.375 GB, free: 0.707 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.9259, allocations: 88.34 kB / 1.376 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.9261, allocations: 107.6 kB / 1.376 GB, free: 0.5156 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.9263, allocations: 63.7 kB / 1.376 GB, free: 464 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.9263, allocations: 12 kB / 1.376 GB, free: 452 kB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 2.259e-05/0.9264, allocations: 8 kB / 1.376 GB, free: 444 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.9264, allocations: 35.84 kB / 1.376 GB, free: 408 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 9.27e-05/0.9265, allocations: 71.61 kB / 1.376 GB, free: 336 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.9268, allocations: 159.4 kB / 1.376 GB, free: 176 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.9268, allocations: 0 / 1.376 GB, free: 176 kB / 1.092 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9268, allocations: 0 / 1.376 GB, free: 176 kB / 1.092 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.9268, allocations: 0 / 1.376 GB, free: 176 kB / 1.092 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.0007172/0.9275, allocations: 446.7 kB / 1.376 GB, free: 15.69 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.9276, allocations: 8.031 kB / 1.376 GB, free: 15.68 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.973e-05/0.9277, allocations: 46.55 kB / 1.376 GB, free: 15.62 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.9277, allocations: 19.81 kB / 1.376 GB, free: 15.61 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.928, allocations: 246.6 kB / 1.377 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.9281, allocations: 12 kB / 1.377 GB, free: 15.31 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.9281, allocations: 12 kB / 1.377 GB, free: 15.3 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.9283, allocations: 164.4 kB / 1.377 GB, free: 15.11 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.9283, allocations: 4 kB / 1.377 GB, free: 15.11 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.9284, allocations: 8 kB / 1.377 GB, free: 15.1 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.9284, allocations: 4 kB / 1.377 GB, free: 15.09 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.9285, allocations: 71.84 kB / 1.377 GB, free: 15.02 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.9293, allocations: 1.148 MB / 1.378 GB, free: 13.8 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 7.317e-05/0.9294, allocations: 169.1 kB / 1.378 GB, free: 13.62 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.9295, allocations: 88.08 kB / 1.378 GB, free: 13.53 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.9295, allocations: 79.28 kB / 1.378 GB, free: 13.45 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.9295, allocations: 109.8 kB / 1.378 GB, free: 13.34 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.9295, allocations: 0 / 1.378 GB, free: 13.34 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 8.586e-05/0.9296, allocations: 41.52 kB / 1.379 GB, free: 13.29 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.9297, allocations: 178.1 kB / 1.379 GB, free: 13.09 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.93, allocations: 256.9 kB / 1.379 GB, free: 12.83 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.93, allocations: 25.7 kB / 1.379 GB, free: 12.8 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/0.9301, allocations: 135.8 kB / 1.379 GB, free: 12.66 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-06/0.9301, allocations: 0 / 1.379 GB, free: 12.66 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.9301, allocations: 29.64 kB / 1.379 GB, free: 12.63 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9303, allocations: 330.8 kB / 1.379 GB, free: 12.3 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.235e-05/0.9303, allocations: 8 kB / 1.379 GB, free: 12.29 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.439e-05/0.9304, allocations: 67.72 kB / 1.38 GB, free: 12.2 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.711e-05/0.9305, allocations: 52.22 kB / 1.38 GB, free: 12.13 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.9305, allocations: 0 / 1.38 GB, free: 12.13 MB / 1.107 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000165/0.9306, allocations: 89.31 kB / 1.38 GB, free: 12.04 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.9307, allocations: 8 kB / 1.38 GB, free: 12.03 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.9307, allocations: 0 / 1.38 GB, free: 12.03 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.9307, allocations: 7.984 kB / 1.38 GB, free: 12.02 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.9308, allocations: 4 kB / 1.38 GB, free: 12.02 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.9308, allocations: 4.125 kB / 1.38 GB, free: 12.01 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.975e-05/0.9309, allocations: 15.89 kB / 1.38 GB, free: 12 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.9309, allocations: 7.984 kB / 1.38 GB, free: 11.99 MB / 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.0001355/0.931, allocations: 213.2 kB / 1.38 GB, free: 11.77 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.61e-05/0.9311, allocations: 120.7 kB / 1.38 GB, free: 11.64 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.036e-05/0.9312, allocations: 117.8 kB / 1.38 GB, free: 11.53 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.275e-05/0.9313, allocations: 188.2 kB / 1.38 GB, free: 11.34 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.08e-05/0.9313, allocations: 176.3 kB / 1.38 GB, free: 11.16 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.625e-05/0.9314, allocations: 188.2 kB / 1.381 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.9317, allocations: 453.1 kB / 1.381 GB, free: 10.46 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.394e-05/0.9317, allocations: 101 kB / 1.381 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.9318, allocations: 104.9 kB / 1.381 GB, free: 10.25 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.856e-05/0.9318, allocations: 184.2 kB / 1.381 GB, free: 10.06 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.648e-05/0.9319, allocations: 180.2 kB / 1.382 GB, free: 9.879 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.613e-05/0.932, allocations: 184.5 kB / 1.382 GB, free: 9.691 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.925e-05/0.932, allocations: 180.3 kB / 1.382 GB, free: 9.508 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.9322, allocations: 327.5 kB / 1.382 GB, free: 9.164 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.561e-05/0.9323, allocations: 193.8 kB / 1.382 GB, free: 8.949 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.576e-05/0.9323, allocations: 188.2 kB / 1.383 GB, free: 8.758 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.9325, allocations: 101 kB / 1.383 GB, free: 8.652 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.9325, allocations: 184.2 kB / 1.383 GB, free: 8.465 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.9326, allocations: 105 kB / 1.383 GB, free: 8.355 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001677/0.9327, allocations: 180.5 kB / 1.383 GB, free: 8.176 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9327, allocations: 0 / 1.383 GB, free: 8.176 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002414/0.933, allocations: 24 kB / 1.383 GB, free: 8.152 MB / 1.107 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.0003855/0.9334, allocations: 0.8319 MB / 1.384 GB, free: 7.289 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.9335, allocations: 27.81 kB / 1.384 GB, free: 7.262 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9335, allocations: 0 / 1.384 GB, free: 7.262 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.9335, allocations: 320 / 1.384 GB, free: 7.262 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.9341, allocations: 0.5 MB / 1.385 GB, free: 6.758 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.936, allocations: 2.05 MB / 1.387 GB, free: 4.609 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.9363, allocations: 0.7163 MB / 1.387 GB, free: 3.867 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 8.685e-05/0.9364, allocations: 25.53 kB / 1.387 GB, free: 3.84 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/0.9364, allocations: 43.42 kB / 1.387 GB, free: 3.797 MB / 1.107 GB Notification: Performance of SimCode: time 7.01e-07/0.9364, allocations: 0 / 1.387 GB, free: 3.797 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.956, allocations: 3.918 MB / 1.391 GB, free: 15.99 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.461/8.417, allocations: 13.36 kB / 1.391 GB, free: 15.98 MB / 1.123 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