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.004916/0.004916, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001176/0.001176, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.071/2.071, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.89 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8628/0.8641, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1936/1.058, allocations: 166.1 MB / 1.25 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005138/1.063, allocations: 5.704 MB / 1.255 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/1.063, allocations: 7.938 kB / 1.255 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003811/1.064, allocations: 99.3 kB / 1.255 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001916/1.064, allocations: 51.62 kB / 1.255 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/1.064, allocations: 39.95 kB / 1.255 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/1.064, allocations: 207.1 kB / 1.256 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/1.064, allocations: 95.12 kB / 1.256 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/1.065, allocations: 103.6 kB / 1.256 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/1.065, allocations: 71.62 kB / 1.256 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/1.065, allocations: 12 kB / 1.256 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.078e-05/1.065, allocations: 8 kB / 1.256 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/1.065, allocations: 31.86 kB / 1.256 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/1.065, allocations: 71.61 kB / 1.256 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/1.065, allocations: 163.3 kB / 1.256 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.065, allocations: 0 / 1.256 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/1.065, allocations: 0 / 1.256 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.711e-06/1.065, allocations: 0 / 1.256 GB, free: 0.9922 MB / 0.9825 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.0005739/1.066, allocations: 442.9 kB / 1.257 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/1.066, allocations: 8.031 kB / 1.257 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/1.066, allocations: 50.48 kB / 1.257 GB, free: 456 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/1.066, allocations: 19.81 kB / 1.257 GB, free: 436 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/1.066, allocations: 256.2 kB / 1.257 GB, free: 140 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/1.066, allocations: 12.23 kB / 1.257 GB, free: 128 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/1.066, allocations: 12 kB / 1.257 GB, free: 116 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/1.066, allocations: 168.7 kB / 1.257 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.066, allocations: 0 / 1.257 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/1.067, allocations: 12 kB / 1.257 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/1.067, allocations: 4 kB / 1.257 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/1.067, allocations: 63.84 kB / 1.257 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/1.067, allocations: 1.16 MB / 1.258 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.874e-05/1.067, allocations: 165.1 kB / 1.258 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/1.068, allocations: 84.08 kB / 1.259 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/1.068, allocations: 79.28 kB / 1.259 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/1.068, allocations: 117.8 kB / 1.259 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 3.386e-06/1.068, allocations: 3.984 kB / 1.259 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.559e-05/1.068, allocations: 41.52 kB / 1.259 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/1.068, allocations: 182.1 kB / 1.259 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/1.068, allocations: 245 kB / 1.259 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/1.068, allocations: 37.7 kB / 1.259 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.185e-05/1.068, allocations: 135.8 kB / 1.259 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-06/1.068, allocations: 0 / 1.259 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/1.068, allocations: 21.72 kB / 1.259 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.987e-05/1.068, allocations: 326.8 kB / 1.26 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/1.068, allocations: 7.984 kB / 1.26 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.692e-05/1.068, allocations: 75.66 kB / 1.26 GB, free: 13 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.138e-05/1.068, allocations: 44.23 kB / 1.26 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.068, allocations: 0 / 1.26 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001478/1.069, allocations: 93.3 kB / 1.26 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.069, allocations: 8 kB / 1.26 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/1.069, allocations: 0 / 1.26 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/1.069, allocations: 4 kB / 1.26 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.673e-05/1.069, allocations: 4 kB / 1.26 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.069, allocations: 4 kB / 1.26 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.571e-05/1.069, allocations: 19.78 kB / 1.26 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/1.069, allocations: 7.938 kB / 1.26 GB, free: 12.79 MB / 0.9981 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.0001224/1.069, allocations: 205.3 kB / 1.26 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.138e-05/1.069, allocations: 128.7 kB / 1.26 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/1.069, allocations: 117.8 kB / 1.26 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-05/1.069, allocations: 180.2 kB / 1.261 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-05/1.069, allocations: 184.2 kB / 1.261 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.688e-05/1.069, allocations: 184.3 kB / 1.261 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/1.069, allocations: 453 kB / 1.261 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-05/1.07, allocations: 109 kB / 1.261 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/1.07, allocations: 104.9 kB / 1.262 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.514e-05/1.07, allocations: 180.3 kB / 1.262 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/1.07, allocations: 176.3 kB / 1.262 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.303e-05/1.07, allocations: 184.4 kB / 1.262 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.416e-05/1.07, allocations: 180.3 kB / 1.262 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/1.07, allocations: 327.5 kB / 1.263 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/1.07, allocations: 197.9 kB / 1.263 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/1.07, allocations: 188.2 kB / 1.263 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/1.07, allocations: 101 kB / 1.263 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/1.07, allocations: 180.2 kB / 1.263 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/1.07, allocations: 105.1 kB / 1.263 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001531/1.07, allocations: 184.5 kB / 1.263 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.071, allocations: 0 / 1.263 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002323/1.071, allocations: 20 kB / 1.263 GB, free: 8.965 MB / 0.9981 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.0003659/1.071, allocations: 0.8319 MB / 1.264 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.412e-05/1.071, allocations: 19.94 kB / 1.264 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.071, allocations: 320 / 1.264 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/1.071, allocations: 4 kB / 1.264 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/1.072, allocations: 0.5078 MB / 1.265 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/1.074, allocations: 2.04 MB / 1.267 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/1.074, allocations: 0.7202 MB / 1.267 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.27e-05/1.074, allocations: 25.58 kB / 1.267 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/1.074, allocations: 39.42 kB / 1.268 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/1.074, allocations: 0 / 1.268 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.016/3.09, allocations: 3.877 MB / 1.271 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/15.97, allocations: 3.984 kB / 1.271 GB, free: 0.832 MB / 0.9981 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