Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 112.1 kB / 17.54 MB, free: 4.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.471/2.471, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 67.89 kB / 1.107 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7796/0.7814, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1772/0.9585, allocations: 166.8 MB / 1.434 GB, free: 11.14 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006257/0.9648, allocations: 5.784 MB / 1.44 GB, free: 6.477 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.965, allocations: 8.938 kB / 1.44 GB, free: 6.473 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.9654, allocations: 92.56 kB / 1.44 GB, free: 6.395 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.9655, allocations: 63.84 kB / 1.44 GB, free: 6.34 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001223/0.9657, allocations: 30.84 kB / 1.44 GB, free: 6.316 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.9659, allocations: 215.1 kB / 1.44 GB, free: 6.191 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.9661, allocations: 62.28 kB / 1.44 GB, free: 6.148 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.9663, allocations: 107.6 kB / 1.44 GB, free: 6.086 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.9664, allocations: 69.81 kB / 1.441 GB, free: 6.043 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.9664, allocations: 9.625 kB / 1.441 GB, free: 6.043 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 2.481e-05/0.9665, allocations: 11 kB / 1.441 GB, free: 6.043 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.9665, allocations: 30.73 kB / 1.441 GB, free: 6.02 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 7.635e-05/0.9666, allocations: 70.98 kB / 1.441 GB, free: 5.973 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.9668, allocations: 156.7 kB / 1.441 GB, free: 5.863 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.9668, allocations: 1.375 kB / 1.441 GB, free: 5.863 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9668, allocations: 0 / 1.441 GB, free: 5.863 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.9668, allocations: 4 kB / 1.441 GB, free: 5.859 MB / 1.123 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.0005609/0.9674, allocations: 450.3 kB / 1.441 GB, free: 5.418 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.9674, allocations: 13.56 kB / 1.441 GB, free: 5.414 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.815e-05/0.9674, allocations: 42.67 kB / 1.441 GB, free: 5.367 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.9675, allocations: 17.53 kB / 1.441 GB, free: 5.359 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.9678, allocations: 258.3 kB / 1.442 GB, free: 5.098 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.9678, allocations: 9.5 kB / 1.442 GB, free: 5.094 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.9678, allocations: 12.09 kB / 1.442 GB, free: 5.09 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.968, allocations: 174.4 kB / 1.442 GB, free: 4.934 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.968, allocations: 1.312 kB / 1.442 GB, free: 4.934 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.9681, allocations: 10.3 kB / 1.442 GB, free: 4.926 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.9681, allocations: 3.031 kB / 1.442 GB, free: 4.926 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.9682, allocations: 66.91 kB / 1.442 GB, free: 4.895 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008515/0.969, allocations: 1.157 MB / 1.443 GB, free: 3.734 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 8.4e-05/0.9691, allocations: 166.5 kB / 1.443 GB, free: 3.562 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/0.9692, allocations: 92.02 kB / 1.443 GB, free: 3.469 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.9692, allocations: 79.22 kB / 1.443 GB, free: 3.391 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.9692, allocations: 111.6 kB / 1.443 GB, free: 3.273 MB / 1.123 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.9692, allocations: 0 / 1.443 GB, free: 3.273 MB / 1.123 GB Notification: Performance of matching and sorting (n=0): time 8.21e-05/0.9693, allocations: 42.08 kB / 1.443 GB, free: 3.234 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.9694, allocations: 179.1 kB / 1.444 GB, free: 3.035 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.9697, allocations: 255.1 kB / 1.444 GB, free: 2.859 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.9697, allocations: 25.7 kB / 1.444 GB, free: 2.828 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.9698, allocations: 125.5 kB / 1.444 GB, free: 2.711 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-06/0.9698, allocations: 1.156 kB / 1.444 GB, free: 2.711 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.9698, allocations: 27.97 kB / 1.444 GB, free: 2.684 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.9699, allocations: 327.4 kB / 1.444 GB, free: 2.359 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.9699, allocations: 8.156 kB / 1.444 GB, free: 2.355 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.97, allocations: 71.28 kB / 1.444 GB, free: 2.27 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.077e-05/0.9701, allocations: 51.19 kB / 1.444 GB, free: 2.215 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.9701, allocations: 5.406 kB / 1.444 GB, free: 2.211 MB / 1.123 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001473/0.9702, allocations: 86.53 kB / 1.445 GB, free: 2.148 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.9702, allocations: 5.594 kB / 1.445 GB, free: 2.148 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.9702, allocations: 1.375 kB / 1.445 GB, free: 2.148 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.9703, allocations: 6.797 kB / 1.445 GB, free: 2.145 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.759e-05/0.9703, allocations: 11.09 kB / 1.445 GB, free: 2.141 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.9703, allocations: 1.188 kB / 1.445 GB, free: 2.141 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.541e-05/0.9704, allocations: 17.39 kB / 1.445 GB, free: 2.129 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.9704, allocations: 6.094 kB / 1.445 GB, free: 2.125 MB / 1.123 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.0001259/0.9705, allocations: 209 kB / 1.445 GB, free: 1.922 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.9706, allocations: 119.9 kB / 1.445 GB, free: 1.805 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.9707, allocations: 121.2 kB / 1.445 GB, free: 1.684 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-05/0.9707, allocations: 180.2 kB / 1.445 GB, free: 1.5 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.07e-05/0.9708, allocations: 185.8 kB / 1.445 GB, free: 1.312 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.681e-05/0.9709, allocations: 189.3 kB / 1.446 GB, free: 1.121 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.9712, allocations: 452.6 kB / 1.446 GB, free: 0.6406 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.046e-05/0.9712, allocations: 102.5 kB / 1.446 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.9712, allocations: 104.9 kB / 1.446 GB, free: 436 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.506e-05/0.9713, allocations: 181.5 kB / 1.446 GB, free: 248 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/0.9714, allocations: 185.8 kB / 1.447 GB, free: 56 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.132e-05/0.9715, allocations: 178 kB / 1.447 GB, free: 15.88 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.681e-05/0.9715, allocations: 180.3 kB / 1.447 GB, free: 15.69 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.9717, allocations: 335 kB / 1.447 GB, free: 15.35 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.9718, allocations: 201.7 kB / 1.447 GB, free: 15.13 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.601e-05/0.9719, allocations: 181.7 kB / 1.448 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.972, allocations: 103.5 kB / 1.448 GB, free: 14.84 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.9721, allocations: 181.5 kB / 1.448 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.9721, allocations: 101 kB / 1.448 GB, free: 14.55 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001591/0.9723, allocations: 186.8 kB / 1.448 GB, free: 14.43 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9723, allocations: 4 kB / 1.448 GB, free: 14.42 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002271/0.9725, allocations: 20.59 kB / 1.448 GB, free: 14.42 MB / 1.139 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.0004063/0.9729, allocations: 0.8282 MB / 1.449 GB, free: 13.59 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 8.135e-05/0.973, allocations: 19.59 kB / 1.449 GB, free: 13.58 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.973, allocations: 4.125 kB / 1.449 GB, free: 13.58 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.973, allocations: 1.156 kB / 1.449 GB, free: 13.58 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/0.9736, allocations: 0.5143 MB / 1.449 GB, free: 13.09 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.9755, allocations: 2.053 MB / 1.451 GB, free: 11.36 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.9758, allocations: 0.7158 MB / 1.452 GB, free: 10.64 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 6.798e-05/0.9759, allocations: 24.66 kB / 1.452 GB, free: 10.63 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.976, allocations: 39.14 kB / 1.452 GB, free: 10.6 MB / 1.139 GB Notification: Performance of SimCode: time 3e-07/0.976, allocations: 0 / 1.452 GB, free: 10.6 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/1.002, allocations: 3.882 MB / 1.456 GB, free: 7.023 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.112/8.114, allocations: 2.031 kB / 1.456 GB, free: 7.023 MB / 1.139 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.336806790999617]