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.007437/0.007437, allocations: 103.8 kB / 15.73 MB, free: 6.008 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.001844/0.001844, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.477/2.477, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001354, allocations: 64.12 kB / 1.054 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8309/0.8323, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1777/1.01, allocations: 166.1 MB / 1.369 GB, free: 6.824 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006066/1.016, allocations: 5.707 MB / 1.375 GB, free: 1.098 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002681/1.016, allocations: 11.94 kB / 1.375 GB, free: 1.086 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004125/1.017, allocations: 91.31 kB / 1.375 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0002585/1.017, allocations: 59.61 kB / 1.375 GB, free: 0.9375 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/1.017, allocations: 39.94 kB / 1.375 GB, free: 0.8984 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0003477/1.018, allocations: 211.1 kB / 1.375 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/1.018, allocations: 94.61 kB / 1.376 GB, free: 0.5977 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/1.018, allocations: 103.6 kB / 1.376 GB, free: 0.4961 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/1.018, allocations: 71.7 kB / 1.376 GB, free: 436 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/1.018, allocations: 8 kB / 1.376 GB, free: 428 kB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 2.316e-05/1.018, allocations: 12 kB / 1.376 GB, free: 416 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/1.018, allocations: 31.86 kB / 1.376 GB, free: 384 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 7.872e-05/1.019, allocations: 75.59 kB / 1.376 GB, free: 308 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/1.019, allocations: 163.3 kB / 1.376 GB, free: 144 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.019, allocations: 0 / 1.376 GB, free: 144 kB / 1.092 GB Notification: Performance of FrontEnd: time 1.713e-06/1.019, allocations: 0 / 1.376 GB, free: 144 kB / 1.092 GB Notification: Performance of Transformations before backend: time 7.454e-06/1.019, allocations: 0 / 1.376 GB, free: 144 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.000634/1.019, allocations: 442.7 kB / 1.376 GB, free: 15.66 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/1.019, allocations: 8.031 kB / 1.376 GB, free: 15.65 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/1.02, allocations: 42.56 kB / 1.376 GB, free: 15.6 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/1.02, allocations: 19.75 kB / 1.376 GB, free: 15.58 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/1.02, allocations: 256.2 kB / 1.377 GB, free: 15.29 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/1.02, allocations: 12 kB / 1.377 GB, free: 15.28 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/1.02, allocations: 16 kB / 1.377 GB, free: 15.27 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/1.02, allocations: 160.5 kB / 1.377 GB, free: 15.08 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/1.02, allocations: 0 / 1.377 GB, free: 15.08 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/1.02, allocations: 8 kB / 1.377 GB, free: 15.07 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/1.02, allocations: 8 kB / 1.377 GB, free: 15.06 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/1.02, allocations: 67.83 kB / 1.377 GB, free: 15 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009016/1.021, allocations: 1.152 MB / 1.378 GB, free: 13.77 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 7.327e-05/1.021, allocations: 165.1 kB / 1.378 GB, free: 13.59 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/1.021, allocations: 84.08 kB / 1.378 GB, free: 13.51 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/1.021, allocations: 79.28 kB / 1.378 GB, free: 13.43 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/1.022, allocations: 109.8 kB / 1.379 GB, free: 13.31 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 1.041e-06/1.022, allocations: 4 kB / 1.379 GB, free: 13.31 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 8.94e-05/1.022, allocations: 49.5 kB / 1.379 GB, free: 13.25 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/1.022, allocations: 178.1 kB / 1.379 GB, free: 13.05 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/1.022, allocations: 244.9 kB / 1.379 GB, free: 12.81 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/1.022, allocations: 33.69 kB / 1.379 GB, free: 12.77 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/1.022, allocations: 135.9 kB / 1.379 GB, free: 12.63 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/1.022, allocations: 0 / 1.379 GB, free: 12.63 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/1.022, allocations: 21.72 kB / 1.379 GB, free: 12.61 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.022, allocations: 334.8 kB / 1.379 GB, free: 12.27 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.929e-05/1.022, allocations: 4 kB / 1.379 GB, free: 12.27 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.016e-05/1.022, allocations: 75.66 kB / 1.38 GB, free: 12.16 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/1.022, allocations: 44.22 kB / 1.38 GB, free: 12.11 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.022, allocations: 4 kB / 1.38 GB, free: 12.1 MB / 1.107 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000156/1.023, allocations: 89.31 kB / 1.38 GB, free: 12.01 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.023, allocations: 8 kB / 1.38 GB, free: 12 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.023, allocations: 0 / 1.38 GB, free: 12 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/1.023, allocations: 0 / 1.38 GB, free: 12 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.943e-05/1.023, allocations: 8 kB / 1.38 GB, free: 11.99 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/1.023, allocations: 7.984 kB / 1.38 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.337e-05/1.023, allocations: 19.97 kB / 1.38 GB, free: 11.96 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/1.023, allocations: 4 kB / 1.38 GB, free: 11.96 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.0001429/1.023, allocations: 205.3 kB / 1.38 GB, free: 11.75 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.072e-05/1.023, allocations: 124.7 kB / 1.38 GB, free: 11.62 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.575e-05/1.023, allocations: 121.8 kB / 1.38 GB, free: 11.5 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.01e-05/1.023, allocations: 180.2 kB / 1.38 GB, free: 11.32 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.012e-05/1.023, allocations: 176.3 kB / 1.38 GB, free: 11.14 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.283e-05/1.023, allocations: 184.3 kB / 1.381 GB, free: 10.95 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/1.024, allocations: 469 kB / 1.381 GB, free: 10.43 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.252e-05/1.024, allocations: 101 kB / 1.381 GB, free: 10.33 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/1.024, allocations: 104.9 kB / 1.381 GB, free: 10.22 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.267e-05/1.024, allocations: 176.3 kB / 1.381 GB, free: 10.04 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/1.024, allocations: 180.3 kB / 1.382 GB, free: 9.855 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.902e-05/1.024, allocations: 188.4 kB / 1.382 GB, free: 9.664 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.486e-05/1.024, allocations: 180.3 kB / 1.382 GB, free: 9.48 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/1.024, allocations: 323.5 kB / 1.382 GB, free: 9.141 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/1.024, allocations: 197.9 kB / 1.382 GB, free: 8.922 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.39e-05/1.024, allocations: 184.2 kB / 1.383 GB, free: 8.734 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/1.024, allocations: 105 kB / 1.383 GB, free: 8.625 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/1.025, allocations: 188.2 kB / 1.383 GB, free: 8.434 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/1.025, allocations: 101 kB / 1.383 GB, free: 8.328 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001747/1.025, allocations: 184.5 kB / 1.383 GB, free: 8.145 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.025, allocations: 0 / 1.383 GB, free: 8.145 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002514/1.025, allocations: 20 kB / 1.383 GB, free: 8.125 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.0003964/1.025, allocations: 0.8319 MB / 1.384 GB, free: 7.262 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 9.061e-05/1.025, allocations: 27.86 kB / 1.384 GB, free: 7.234 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.025, allocations: 0 / 1.384 GB, free: 7.234 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/1.026, allocations: 0 / 1.384 GB, free: 7.234 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006008/1.026, allocations: 0.5042 MB / 1.385 GB, free: 6.727 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/1.028, allocations: 2.041 MB / 1.387 GB, free: 4.586 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/1.028, allocations: 0.7163 MB / 1.387 GB, free: 3.844 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 8.827e-05/1.028, allocations: 21.55 kB / 1.387 GB, free: 3.82 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/1.029, allocations: 39.42 kB / 1.387 GB, free: 3.781 MB / 1.107 GB Notification: Performance of SimCode: time 3.2e-07/1.029, allocations: 0 / 1.387 GB, free: 3.781 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/1.049, allocations: 3.927 MB / 1.391 GB, free: 15.97 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/8.773, allocations: 11.91 kB / 1.391 GB, free: 15.96 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