Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002149/0.002149, allocations: 217.8 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.244/3.244, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 73.64 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4092, allocations: 176.1 MB / 1.327 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1853/0.5945, allocations: 146.4 MB / 1.47 GB, free: 14.57 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00641/0.6009, allocations: 5.174 MB / 1.475 GB, free: 9.383 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002442/0.6012, allocations: 11.88 kB / 1.475 GB, free: 9.371 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004746/0.6017, allocations: 99.36 kB / 1.475 GB, free: 9.273 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.6019, allocations: 55.55 kB / 1.475 GB, free: 9.219 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.6021, allocations: 39.95 kB / 1.475 GB, free: 9.18 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.6024, allocations: 223.1 kB / 1.475 GB, free: 8.961 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.6026, allocations: 62.75 kB / 1.475 GB, free: 8.898 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.6029, allocations: 103.6 kB / 1.475 GB, free: 8.797 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.6031, allocations: 75.64 kB / 1.475 GB, free: 8.723 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.6031, allocations: 11.94 kB / 1.475 GB, free: 8.711 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 3.183e-05/0.6031, allocations: 12 kB / 1.475 GB, free: 8.699 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.6032, allocations: 23.92 kB / 1.475 GB, free: 8.676 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 8.295e-05/0.6033, allocations: 55.73 kB / 1.475 GB, free: 8.621 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.6035, allocations: 171.2 kB / 1.476 GB, free: 8.453 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6035, allocations: 0 / 1.476 GB, free: 8.453 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6035, allocations: 4 kB / 1.476 GB, free: 8.449 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.6035, allocations: 0 / 1.476 GB, free: 8.449 MB / 1.17 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.0006504/0.6042, allocations: 365.5 kB / 1.476 GB, free: 8.062 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.6042, allocations: 12.02 kB / 1.476 GB, free: 8.051 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.021e-05/0.6042, allocations: 8 kB / 1.476 GB, free: 8.043 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.416e-05/0.6043, allocations: 38.56 kB / 1.476 GB, free: 7.996 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.6043, allocations: 19.84 kB / 1.476 GB, free: 7.977 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.6047, allocations: 210.4 kB / 1.476 GB, free: 7.746 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.6047, allocations: 8 kB / 1.476 GB, free: 7.738 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.6047, allocations: 12 kB / 1.476 GB, free: 7.727 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.605, allocations: 220.5 kB / 1.476 GB, free: 7.469 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.605, allocations: 0 / 1.476 GB, free: 7.469 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.605, allocations: 8 kB / 1.476 GB, free: 7.461 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-06/0.605, allocations: 0 / 1.476 GB, free: 7.461 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.6052, allocations: 71.78 kB / 1.476 GB, free: 7.391 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009701/0.6061, allocations: 1.097 MB / 1.478 GB, free: 6.223 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.6062, allocations: 173.1 kB / 1.478 GB, free: 6.043 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.6063, allocations: 80.14 kB / 1.478 GB, free: 5.961 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.6063, allocations: 75.28 kB / 1.478 GB, free: 5.887 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.447e-05/0.6064, allocations: 113.8 kB / 1.478 GB, free: 5.766 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.6064, allocations: 0 / 1.478 GB, free: 5.766 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 9.299e-05/0.6065, allocations: 49.58 kB / 1.478 GB, free: 5.711 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.392e-05/0.6066, allocations: 182 kB / 1.478 GB, free: 5.508 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.6069, allocations: 252.9 kB / 1.478 GB, free: 5.246 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.6069, allocations: 25.7 kB / 1.478 GB, free: 5.215 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.607, allocations: 139.9 kB / 1.479 GB, free: 5.074 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.607, allocations: 4 kB / 1.479 GB, free: 5.07 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.607, allocations: 17.72 kB / 1.479 GB, free: 5.047 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6072, allocations: 326.8 kB / 1.479 GB, free: 4.719 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.471e-05/0.6072, allocations: 15.94 kB / 1.479 GB, free: 4.703 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.6073, allocations: 170.5 kB / 1.479 GB, free: 4.484 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.518e-05/0.6074, allocations: 52.16 kB / 1.479 GB, free: 4.418 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6074, allocations: 4 kB / 1.479 GB, free: 4.414 MB / 1.17 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001683/0.6076, allocations: 85.47 kB / 1.479 GB, free: 4.324 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.6076, allocations: 4 kB / 1.479 GB, free: 4.32 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.6076, allocations: 0 / 1.479 GB, free: 4.32 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.6076, allocations: 4 kB / 1.479 GB, free: 4.316 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.734e-05/0.6077, allocations: 15.92 kB / 1.479 GB, free: 4.301 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.6077, allocations: 0 / 1.479 GB, free: 4.301 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.862e-05/0.6078, allocations: 15.84 kB / 1.479 GB, free: 4.285 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.6078, allocations: 12.16 kB / 1.479 GB, free: 4.273 MB / 1.17 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.0001458/0.6079, allocations: 209.6 kB / 1.479 GB, free: 4.059 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.111e-05/0.608, allocations: 116.9 kB / 1.48 GB, free: 3.938 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.554e-05/0.6081, allocations: 129.7 kB / 1.48 GB, free: 3.805 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.406e-05/0.6081, allocations: 176.3 kB / 1.48 GB, free: 3.625 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.953e-05/0.6082, allocations: 180.2 kB / 1.48 GB, free: 3.441 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-05/0.6083, allocations: 180.3 kB / 1.48 GB, free: 3.258 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.6086, allocations: 420.2 kB / 1.481 GB, free: 2.797 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.746e-05/0.6086, allocations: 104.9 kB / 1.481 GB, free: 2.688 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.6087, allocations: 101 kB / 1.481 GB, free: 2.582 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.052e-05/0.6088, allocations: 188.2 kB / 1.481 GB, free: 2.391 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.58e-05/0.6088, allocations: 176.4 kB / 1.481 GB, free: 2.211 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-05/0.6089, allocations: 184.3 kB / 1.481 GB, free: 2.023 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-05/0.609, allocations: 188.2 kB / 1.482 GB, free: 1.832 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.6092, allocations: 323.6 kB / 1.482 GB, free: 1.492 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.068e-05/0.6093, allocations: 120.9 kB / 1.482 GB, free: 1.367 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.6094, allocations: 184.2 kB / 1.482 GB, free: 1.18 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.6095, allocations: 101 kB / 1.482 GB, free: 1.074 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/0.6096, allocations: 184.3 kB / 1.482 GB, free: 0.8867 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.6096, allocations: 104.9 kB / 1.482 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001807/0.6098, allocations: 180.5 kB / 1.483 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6098, allocations: 4 kB / 1.483 GB, free: 0.6016 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002502/0.61, allocations: 24 kB / 1.483 GB, free: 0.5781 MB / 1.17 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.0004644/0.6105, allocations: 0.8266 MB / 1.484 GB, free: 15.72 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.6106, allocations: 23.92 kB / 1.484 GB, free: 15.7 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6106, allocations: 3.938 kB / 1.484 GB, free: 15.7 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-06/0.6106, allocations: 4 kB / 1.484 GB, free: 15.69 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.6113, allocations: 0.5102 MB / 1.484 GB, free: 15.18 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.6135, allocations: 2.039 MB / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.6136, allocations: 114 kB / 1.486 GB, free: 12.91 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 8.376e-05/0.6137, allocations: 17.48 kB / 1.486 GB, free: 12.89 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.642e-05/0.6138, allocations: 43.42 kB / 1.486 GB, free: 12.85 MB / 1.186 GB Notification: Performance of SimCode: time 5.11e-07/0.6138, allocations: 0 / 1.486 GB, free: 12.85 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.6402, allocations: 4.322 MB / 1.49 GB, free: 8.738 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.42, allocations: 5.047 kB / 1.49 GB, free: 8.734 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.49013825203292]