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.001601/0.001601, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001816/0.001816, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.293/3.293, allocations: 0.49 GB / 0.7958 GB, free: 33.41 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: translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u") [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.00205/0.00205, allocations: 66.77 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3756, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2105/0.5862, allocations: 169.7 MB / 1.493 GB, free: 7.109 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007923/0.5941, allocations: 5.789 MB / 1.499 GB, free: 1.301 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004068/0.5945, allocations: 11.88 kB / 1.499 GB, free: 1.289 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005875/0.5951, allocations: 95.3 kB / 1.499 GB, free: 1.195 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.5954, allocations: 63.55 kB / 1.499 GB, free: 1.133 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.5956, allocations: 35.95 kB / 1.499 GB, free: 1.098 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0003677/0.5959, allocations: 215.1 kB / 1.499 GB, free: 0.8867 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.5962, allocations: 58.86 kB / 1.499 GB, free: 0.8281 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.5964, allocations: 107.6 kB / 1.499 GB, free: 0.7227 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.5966, allocations: 71.64 kB / 1.499 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.5966, allocations: 8 kB / 1.499 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 2.506e-05/0.5966, allocations: 12 kB / 1.499 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 6.402e-05/0.5967, allocations: 35.84 kB / 1.499 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 9.138e-05/0.5968, allocations: 75.61 kB / 1.499 GB, free: 0.5234 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.5971, allocations: 159.2 kB / 1.499 GB, free: 376 kB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5971, allocations: 0 / 1.499 GB, free: 376 kB / 1.186 GB Notification: Performance of FrontEnd: time 2.043e-06/0.5971, allocations: 0 / 1.499 GB, free: 376 kB / 1.186 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.5971, allocations: 0 / 1.499 GB, free: 376 kB / 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.0007273/0.5978, allocations: 373.5 kB / 1.5 GB, free: 15.97 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.5979, allocations: 8.031 kB / 1.5 GB, free: 15.96 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.5979, allocations: 15.91 kB / 1.5 GB, free: 15.95 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.5983, allocations: 204.7 kB / 1.5 GB, free: 15.72 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.5983, allocations: 12 kB / 1.5 GB, free: 15.71 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.5983, allocations: 8 kB / 1.5 GB, free: 15.7 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.5986, allocations: 173.3 kB / 1.5 GB, free: 15.5 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5986, allocations: 0 / 1.5 GB, free: 15.5 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.5986, allocations: 8 kB / 1.5 GB, free: 15.5 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.5986, allocations: 4 kB / 1.5 GB, free: 15.49 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.5987, allocations: 71.83 kB / 1.5 GB, free: 15.42 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.5998, allocations: 1.109 MB / 1.501 GB, free: 14.24 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.6, allocations: 177.1 kB / 1.502 GB, free: 14.06 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.492e-05/0.6, allocations: 80.14 kB / 1.502 GB, free: 13.98 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.6, allocations: 79.22 kB / 1.502 GB, free: 13.9 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.706e-05/0.6001, allocations: 109.9 kB / 1.502 GB, free: 13.78 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.6001, allocations: 0 / 1.502 GB, free: 13.78 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 9.174e-05/0.6002, allocations: 45.55 kB / 1.502 GB, free: 13.73 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.6003, allocations: 182.1 kB / 1.502 GB, free: 13.53 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.6006, allocations: 252.9 kB / 1.502 GB, free: 13.27 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.6006, allocations: 25.7 kB / 1.502 GB, free: 13.23 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.6007, allocations: 135.9 kB / 1.502 GB, free: 13.1 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.748e-06/0.6007, allocations: 4.016 kB / 1.502 GB, free: 13.09 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.6008, allocations: 21.7 kB / 1.502 GB, free: 13.07 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.6009, allocations: 322.8 kB / 1.503 GB, free: 12.74 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.601, allocations: 15.94 kB / 1.503 GB, free: 12.73 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.601, allocations: 63.72 kB / 1.503 GB, free: 12.64 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.116e-05/0.6011, allocations: 60.16 kB / 1.503 GB, free: 12.56 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6011, allocations: 128 / 1.503 GB, free: 12.56 MB / 1.201 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001686/0.6013, allocations: 89.47 kB / 1.503 GB, free: 12.47 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.6013, allocations: 5.719 kB / 1.503 GB, free: 12.46 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.6013, allocations: 0 / 1.503 GB, free: 12.46 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.6013, allocations: 7.984 kB / 1.503 GB, free: 12.46 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/0.6014, allocations: 12.09 kB / 1.503 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.6014, allocations: 4 kB / 1.503 GB, free: 12.44 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.6015, allocations: 15.84 kB / 1.503 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.6015, allocations: 4 kB / 1.503 GB, free: 12.42 MB / 1.201 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.0001512/0.6016, allocations: 209.1 kB / 1.503 GB, free: 12.21 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.214e-05/0.6017, allocations: 124.8 kB / 1.503 GB, free: 12.08 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.22e-05/0.6018, allocations: 125.7 kB / 1.503 GB, free: 11.95 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.817e-05/0.6019, allocations: 180.3 kB / 1.504 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.438e-05/0.602, allocations: 180.2 kB / 1.504 GB, free: 11.58 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.859e-05/0.602, allocations: 176.3 kB / 1.504 GB, free: 11.4 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.6024, allocations: 424.2 kB / 1.504 GB, free: 10.94 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-05/0.6025, allocations: 108.9 kB / 1.504 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.6025, allocations: 101 kB / 1.505 GB, free: 10.72 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.509e-05/0.6026, allocations: 192.2 kB / 1.505 GB, free: 10.52 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-05/0.6027, allocations: 180.2 kB / 1.505 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001076/0.6028, allocations: 184.2 kB / 1.505 GB, free: 10.15 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.952e-05/0.6029, allocations: 176.3 kB / 1.505 GB, free: 9.973 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.6031, allocations: 327.7 kB / 1.506 GB, free: 9.629 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.113e-05/0.6032, allocations: 120.8 kB / 1.506 GB, free: 9.504 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.6033, allocations: 184.2 kB / 1.506 GB, free: 9.316 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.6035, allocations: 113 kB / 1.506 GB, free: 9.199 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/0.6036, allocations: 176.3 kB / 1.506 GB, free: 9.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/0.6036, allocations: 104.9 kB / 1.506 GB, free: 8.91 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001915/0.6038, allocations: 192.5 kB / 1.506 GB, free: 8.723 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6038, allocations: 0 / 1.506 GB, free: 8.723 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002805/0.6041, allocations: 20 kB / 1.506 GB, free: 8.703 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.0001468/0.6042, allocations: 170.5 kB / 1.507 GB, free: 8.523 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.6043, allocations: 23.92 kB / 1.507 GB, free: 8.5 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6043, allocations: 3.938 kB / 1.507 GB, free: 8.496 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.6043, allocations: 4.312 kB / 1.507 GB, free: 8.492 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006806/0.605, allocations: 0.5155 MB / 1.507 GB, free: 7.973 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.6056, allocations: 349.3 kB / 1.507 GB, free: 7.598 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.6059, allocations: 0.7164 MB / 1.508 GB, free: 6.855 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.606, allocations: 15.44 kB / 1.508 GB, free: 6.84 MB / 1.201 GB Notification: Performance of SimCode: time 2.7e-07/0.606, allocations: 4 kB / 1.508 GB, free: 6.836 MB / 1.201 GB Notification: Performance of Templates: time 0.004123/0.6101, allocations: 2.021 MB / 1.51 GB, free: 4.832 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 400] 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: 12.190066313982243]