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.00551/0.00551, 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.00126/0.00126, 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.25/2.25, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 59.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8641/0.8655, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2111/1.077, allocations: 166.1 MB / 1.25 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00575/1.082, allocations: 5.71 MB / 1.255 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003305/1.083, allocations: 11.94 kB / 1.255 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004863/1.083, allocations: 91.31 kB / 1.255 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002505/1.084, allocations: 59.61 kB / 1.255 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/1.084, allocations: 27.97 kB / 1.255 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003091/1.084, allocations: 215.1 kB / 1.256 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/1.084, allocations: 87.12 kB / 1.256 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002986/1.085, allocations: 107.6 kB / 1.256 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/1.085, allocations: 71.58 kB / 1.256 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/1.085, allocations: 12 kB / 1.256 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.02e-05/1.085, allocations: 8 kB / 1.256 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.22e-05/1.085, allocations: 27.92 kB / 1.256 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.631e-05/1.085, allocations: 71.61 kB / 1.256 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/1.085, allocations: 167.3 kB / 1.256 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.085, allocations: 0 / 1.256 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/1.085, allocations: 0 / 1.256 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.603e-06/1.085, allocations: 0 / 1.256 GB, free: 1.043 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.0006747/1.086, allocations: 446.9 kB / 1.257 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/1.086, allocations: 12.02 kB / 1.257 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.38e-05/1.086, allocations: 42.56 kB / 1.257 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.243e-05/1.086, allocations: 19.75 kB / 1.257 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/1.087, allocations: 254.6 kB / 1.257 GB, free: 192 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/1.087, allocations: 8.234 kB / 1.257 GB, free: 184 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/1.087, allocations: 15.94 kB / 1.257 GB, free: 168 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/1.087, allocations: 172.7 kB / 1.257 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.087, allocations: 4 kB / 1.257 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/1.087, allocations: 8 kB / 1.257 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/1.087, allocations: 4 kB / 1.257 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/1.087, allocations: 71.73 kB / 1.257 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/1.088, allocations: 1.152 MB / 1.258 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.895e-05/1.088, allocations: 165.1 kB / 1.258 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/1.088, allocations: 88.08 kB / 1.259 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/1.088, allocations: 83.27 kB / 1.259 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.603e-05/1.088, allocations: 113.8 kB / 1.259 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/1.088, allocations: 0 / 1.259 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.354e-05/1.088, allocations: 45.5 kB / 1.259 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/1.089, allocations: 178.1 kB / 1.259 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/1.089, allocations: 245 kB / 1.259 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/1.089, allocations: 33.7 kB / 1.259 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/1.089, allocations: 135.8 kB / 1.259 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-06/1.089, allocations: 0 / 1.259 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/1.089, allocations: 21.72 kB / 1.259 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.089, allocations: 330.8 kB / 1.26 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/1.089, allocations: 8 kB / 1.26 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.879e-05/1.089, allocations: 71.66 kB / 1.26 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/1.089, allocations: 48.23 kB / 1.26 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.089, allocations: 4 kB / 1.26 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002537/1.09, allocations: 85.36 kB / 1.26 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/1.09, allocations: 11.94 kB / 1.26 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.09, allocations: 0 / 1.26 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/1.09, allocations: 0 / 1.26 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.197e-05/1.09, allocations: 12.12 kB / 1.26 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/1.09, allocations: 4 kB / 1.26 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.88e-05/1.09, allocations: 15.83 kB / 1.26 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/1.09, allocations: 8.156 kB / 1.26 GB, free: 12.84 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.0001714/1.09, allocations: 201.1 kB / 1.26 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.443e-05/1.09, allocations: 128.7 kB / 1.26 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.18e-05/1.09, allocations: 117.9 kB / 1.26 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001709/1.091, allocations: 180.2 kB / 1.261 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.313e-05/1.091, allocations: 188.2 kB / 1.261 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.177e-05/1.091, allocations: 184.3 kB / 1.261 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/1.091, allocations: 457 kB / 1.261 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-05/1.091, allocations: 101 kB / 1.261 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/1.091, allocations: 101 kB / 1.261 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.842e-05/1.091, allocations: 188.1 kB / 1.262 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.114e-05/1.091, allocations: 180.3 kB / 1.262 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-05/1.091, allocations: 184.4 kB / 1.262 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.108e-05/1.091, allocations: 184.3 kB / 1.262 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/1.092, allocations: 319.5 kB / 1.263 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/1.092, allocations: 197.9 kB / 1.263 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/1.092, allocations: 188.2 kB / 1.263 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/1.092, allocations: 101 kB / 1.263 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/1.092, allocations: 184.2 kB / 1.263 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/1.092, allocations: 105 kB / 1.263 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001864/1.092, allocations: 180.5 kB / 1.263 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.092, allocations: 0 / 1.263 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002654/1.093, allocations: 28 kB / 1.263 GB, free: 9.004 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.000546/1.093, allocations: 0.828 MB / 1.264 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001061/1.093, allocations: 15.98 kB / 1.264 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.791e-05/1.094, allocations: 4.312 kB / 1.264 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/1.094, allocations: 3.938 kB / 1.264 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007458/1.094, allocations: 0.5078 MB / 1.265 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/1.097, allocations: 2.037 MB / 1.267 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/1.097, allocations: 0.7163 MB / 1.267 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.88e-05/1.097, allocations: 29.58 kB / 1.267 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/1.097, allocations: 35.42 kB / 1.268 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/1.097, allocations: 4 kB / 1.268 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/1.123, allocations: 3.914 MB / 1.271 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.848/8.971, allocations: 8.047 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