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.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.001262/0.001262, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001474/0.001474, allocations: 217.6 kB / 23.03 MB, free: 4.945 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.183/3.183, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_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.001943/0.001943, allocations: 65.22 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3939, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1992/0.5932, allocations: 146.4 MB / 1.488 GB, free: 12.99 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008119/0.6013, allocations: 5.174 MB / 1.493 GB, free: 7.797 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003589/0.6017, allocations: 11.94 kB / 1.493 GB, free: 7.785 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005597/0.6022, allocations: 95.31 kB / 1.493 GB, free: 7.691 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.6026, allocations: 63.59 kB / 1.493 GB, free: 7.629 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.6028, allocations: 39.95 kB / 1.494 GB, free: 7.59 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.6032, allocations: 215.1 kB / 1.494 GB, free: 7.379 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.6035, allocations: 58.86 kB / 1.494 GB, free: 7.316 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003809/0.6038, allocations: 103.6 kB / 1.494 GB, free: 7.215 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.6041, allocations: 79.62 kB / 1.494 GB, free: 7.137 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.6041, allocations: 8 kB / 1.494 GB, free: 7.129 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 4.419e-05/0.6042, allocations: 12 kB / 1.494 GB, free: 7.117 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 7.133e-05/0.6042, allocations: 27.92 kB / 1.494 GB, free: 7.09 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.6044, allocations: 59.67 kB / 1.494 GB, free: 7.031 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.6047, allocations: 163.2 kB / 1.494 GB, free: 6.871 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.6047, allocations: 0 / 1.494 GB, free: 6.871 MB / 1.186 GB Notification: Performance of FrontEnd: time 6.202e-06/0.6047, allocations: 3.984 kB / 1.494 GB, free: 6.867 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.6047, allocations: 0 / 1.494 GB, free: 6.867 MB / 1.186 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.001018/0.6058, allocations: 365.5 kB / 1.495 GB, free: 6.48 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.6058, allocations: 8.031 kB / 1.495 GB, free: 6.473 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.371e-05/0.6058, allocations: 4 kB / 1.495 GB, free: 6.469 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.113e-05/0.6059, allocations: 42.55 kB / 1.495 GB, free: 6.418 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.377e-05/0.606, allocations: 31.84 kB / 1.495 GB, free: 6.387 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.6064, allocations: 193.8 kB / 1.495 GB, free: 6.172 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.6064, allocations: 8 kB / 1.495 GB, free: 6.164 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.6064, allocations: 15.98 kB / 1.495 GB, free: 6.148 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.6068, allocations: 217 kB / 1.495 GB, free: 5.895 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.6068, allocations: 0 / 1.495 GB, free: 5.895 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.6068, allocations: 12 kB / 1.495 GB, free: 5.883 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.587e-06/0.6068, allocations: 4 kB / 1.495 GB, free: 5.879 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.6069, allocations: 67.78 kB / 1.495 GB, free: 5.812 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.608, allocations: 1.093 MB / 1.496 GB, free: 4.648 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.6081, allocations: 169.1 kB / 1.496 GB, free: 4.473 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.883e-05/0.6082, allocations: 88.08 kB / 1.496 GB, free: 4.383 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.6082, allocations: 79.28 kB / 1.497 GB, free: 4.305 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.174e-05/0.6083, allocations: 109.8 kB / 1.497 GB, free: 4.188 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.6083, allocations: 0 / 1.497 GB, free: 4.188 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001083/0.6084, allocations: 49.64 kB / 1.497 GB, free: 4.133 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.6085, allocations: 190 kB / 1.497 GB, free: 3.922 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.6088, allocations: 248.9 kB / 1.497 GB, free: 3.668 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.6089, allocations: 25.7 kB / 1.497 GB, free: 3.637 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.609, allocations: 140 kB / 1.497 GB, free: 3.496 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-06/0.609, allocations: 0 / 1.497 GB, free: 3.496 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.609, allocations: 17.72 kB / 1.497 GB, free: 3.473 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.6092, allocations: 330.8 kB / 1.498 GB, free: 3.141 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.6092, allocations: 11.94 kB / 1.498 GB, free: 3.129 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.6093, allocations: 170.5 kB / 1.498 GB, free: 2.91 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.5e-05/0.6094, allocations: 52.22 kB / 1.498 GB, free: 2.844 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6094, allocations: 0 / 1.498 GB, free: 2.844 MB / 1.186 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001907/0.6096, allocations: 93.36 kB / 1.498 GB, free: 2.746 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.6096, allocations: 4 kB / 1.498 GB, free: 2.742 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6096, allocations: 0 / 1.498 GB, free: 2.742 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.6097, allocations: 4.156 kB / 1.498 GB, free: 2.738 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.6097, allocations: 16.11 kB / 1.498 GB, free: 2.723 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.6097, allocations: 4 kB / 1.498 GB, free: 2.719 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.543e-05/0.6098, allocations: 15.89 kB / 1.498 GB, free: 2.703 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.6098, allocations: 4 kB / 1.498 GB, free: 2.699 MB / 1.186 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.0001752/0.61, allocations: 216.9 kB / 1.498 GB, free: 2.477 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.119e-05/0.6101, allocations: 116.9 kB / 1.498 GB, free: 2.355 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.862e-05/0.6102, allocations: 125.8 kB / 1.498 GB, free: 2.23 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-05/0.6103, allocations: 180.2 kB / 1.499 GB, free: 2.047 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.556e-05/0.6103, allocations: 176.3 kB / 1.499 GB, free: 1.867 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.082e-05/0.6104, allocations: 184.2 kB / 1.499 GB, free: 1.68 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.6107, allocations: 420.2 kB / 1.499 GB, free: 1.219 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.839e-05/0.6108, allocations: 108.9 kB / 1.499 GB, free: 1.105 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-05/0.6108, allocations: 108.9 kB / 1.5 GB, free: 0.9922 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.787e-05/0.6109, allocations: 176.3 kB / 1.5 GB, free: 0.8125 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.671e-05/0.611, allocations: 184.2 kB / 1.5 GB, free: 0.625 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.549e-05/0.6111, allocations: 180.3 kB / 1.5 GB, free: 452 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.292e-05/0.6112, allocations: 176.3 kB / 1.5 GB, free: 268 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.6114, allocations: 331.6 kB / 1.501 GB, free: 15.91 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-05/0.6115, allocations: 120.8 kB / 1.501 GB, free: 15.79 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.6116, allocations: 180.3 kB / 1.501 GB, free: 15.61 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.6117, allocations: 109 kB / 1.501 GB, free: 15.49 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.6118, allocations: 188.1 kB / 1.501 GB, free: 15.3 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/0.6119, allocations: 101 kB / 1.501 GB, free: 15.2 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002079/0.6121, allocations: 184.5 kB / 1.501 GB, free: 15.01 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6121, allocations: 4 kB / 1.501 GB, free: 15.01 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002709/0.6123, allocations: 23.95 kB / 1.501 GB, free: 14.98 MB / 1.201 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.0005177/0.6129, allocations: 0.8203 MB / 1.502 GB, free: 14.13 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.613, allocations: 19.94 kB / 1.502 GB, free: 14.11 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.613, allocations: 320 / 1.502 GB, free: 14.11 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.613, allocations: 4 kB / 1.502 GB, free: 14.11 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007132/0.6137, allocations: 0.5097 MB / 1.503 GB, free: 13.6 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.6159, allocations: 2.045 MB / 1.505 GB, free: 11.45 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.616, allocations: 106.2 kB / 1.505 GB, free: 11.33 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 7.9e-05/0.6161, allocations: 21.48 kB / 1.505 GB, free: 11.3 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.238e-05/0.6162, allocations: 43.42 kB / 1.505 GB, free: 11.26 MB / 1.201 GB Notification: Performance of SimCode: time 2.91e-07/0.6162, allocations: 0 / 1.505 GB, free: 11.26 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.6419, allocations: 4.314 MB / 1.509 GB, free: 7.145 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.96, allocations: 8.25 kB / 1.509 GB, free: 7.141 MB / 1.201 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.70930082804989]