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.001752/0.001752, allocations: 104.3 kB / 19.7 MB, free: 2.152 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.002513/0.002513, allocations: 215.6 kB / 22.99 MB, free: 4.965 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.62/1.62, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.329/3.329, allocations: 0.49 GB / 0.7959 GB, free: 35.35 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.002115/0.002115, allocations: 66.14 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4526/0.4547, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2111/0.6658, allocations: 146.5 MB / 1.47 GB, free: 13.91 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006518/0.6723, allocations: 5.186 MB / 1.475 GB, free: 8.707 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002719/0.6726, allocations: 11.88 kB / 1.475 GB, free: 8.695 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004824/0.6731, allocations: 95.31 kB / 1.475 GB, free: 8.602 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.6733, allocations: 59.61 kB / 1.475 GB, free: 8.543 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.6735, allocations: 39.94 kB / 1.475 GB, free: 8.504 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.6738, allocations: 219.1 kB / 1.476 GB, free: 8.289 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.674, allocations: 58.86 kB / 1.476 GB, free: 8.23 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.6743, allocations: 103.6 kB / 1.476 GB, free: 8.129 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.6745, allocations: 75.58 kB / 1.476 GB, free: 8.055 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.6745, allocations: 12 kB / 1.476 GB, free: 8.043 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 2.761e-05/0.6745, allocations: 8 kB / 1.476 GB, free: 8.035 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.6746, allocations: 27.92 kB / 1.476 GB, free: 8.008 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 8.529e-05/0.6747, allocations: 63.66 kB / 1.476 GB, free: 7.945 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.6749, allocations: 163.2 kB / 1.476 GB, free: 7.785 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6749, allocations: 4 kB / 1.476 GB, free: 7.781 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6749, allocations: 0 / 1.476 GB, free: 7.781 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.6749, allocations: 0 / 1.476 GB, free: 7.781 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.0007267/0.6756, allocations: 369.4 kB / 1.476 GB, free: 7.391 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.6757, allocations: 12.03 kB / 1.476 GB, free: 7.379 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.6757, allocations: 15.91 kB / 1.476 GB, free: 7.363 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.6761, allocations: 201.4 kB / 1.477 GB, free: 7.141 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.6761, allocations: 11.98 kB / 1.477 GB, free: 7.129 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.6761, allocations: 12 kB / 1.477 GB, free: 7.117 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.6765, allocations: 217.5 kB / 1.477 GB, free: 6.863 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.6765, allocations: 4 kB / 1.477 GB, free: 6.859 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.6765, allocations: 4 kB / 1.477 GB, free: 6.855 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.6765, allocations: 4 kB / 1.477 GB, free: 6.852 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.6766, allocations: 79.77 kB / 1.477 GB, free: 6.773 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.6776, allocations: 1.039 MB / 1.478 GB, free: 5.676 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 9.558e-05/0.6777, allocations: 169.1 kB / 1.478 GB, free: 5.5 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.6778, allocations: 80.14 kB / 1.478 GB, free: 5.418 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.379e-05/0.6778, allocations: 79.28 kB / 1.478 GB, free: 5.34 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.168e-05/0.6779, allocations: 117.8 kB / 1.478 GB, free: 5.215 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.6779, allocations: 0 / 1.478 GB, free: 5.215 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 9.772e-05/0.678, allocations: 45.62 kB / 1.478 GB, free: 5.164 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.6781, allocations: 178.1 kB / 1.479 GB, free: 4.965 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.6783, allocations: 179.5 kB / 1.479 GB, free: 4.781 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.6783, allocations: 25.7 kB / 1.479 GB, free: 4.75 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.6785, allocations: 143.8 kB / 1.479 GB, free: 4.605 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.6785, allocations: 4 kB / 1.479 GB, free: 4.602 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.6785, allocations: 21.72 kB / 1.479 GB, free: 4.574 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.6787, allocations: 318.8 kB / 1.479 GB, free: 4.254 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.257e-05/0.6787, allocations: 8 kB / 1.479 GB, free: 4.246 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.6788, allocations: 174.5 kB / 1.479 GB, free: 4.023 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.909e-05/0.6789, allocations: 52.16 kB / 1.48 GB, free: 3.957 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6789, allocations: 0 / 1.48 GB, free: 3.957 MB / 1.17 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001847/0.6791, allocations: 81.53 kB / 1.48 GB, free: 3.871 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.6791, allocations: 7.938 kB / 1.48 GB, free: 3.863 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.6791, allocations: 7.984 kB / 1.48 GB, free: 3.855 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.6791, allocations: 0 / 1.48 GB, free: 3.855 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.6792, allocations: 11.94 kB / 1.48 GB, free: 3.844 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.6792, allocations: 0 / 1.48 GB, free: 3.844 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.863e-05/0.6793, allocations: 8 kB / 1.48 GB, free: 3.836 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.6793, allocations: 4 kB / 1.48 GB, free: 3.832 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.0001903/0.6795, allocations: 213.2 kB / 1.48 GB, free: 3.613 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.862e-05/0.6796, allocations: 112.9 kB / 1.48 GB, free: 3.496 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.069e-05/0.6796, allocations: 125.5 kB / 1.48 GB, free: 3.363 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-05/0.6797, allocations: 176.3 kB / 1.48 GB, free: 3.184 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001053/0.6798, allocations: 184.2 kB / 1.48 GB, free: 2.996 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.01e-05/0.6799, allocations: 176.3 kB / 1.481 GB, free: 2.816 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.6802, allocations: 396.9 kB / 1.481 GB, free: 2.391 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.438e-05/0.6803, allocations: 109 kB / 1.481 GB, free: 2.277 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.234e-05/0.6803, allocations: 105 kB / 1.481 GB, free: 2.168 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.499e-05/0.6804, allocations: 180.2 kB / 1.481 GB, free: 1.984 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.423e-05/0.6805, allocations: 188.2 kB / 1.482 GB, free: 1.793 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.928e-05/0.6806, allocations: 180.2 kB / 1.482 GB, free: 1.609 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-05/0.6807, allocations: 180.3 kB / 1.482 GB, free: 1.426 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.6809, allocations: 323.7 kB / 1.482 GB, free: 1.086 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/0.6809, allocations: 116.9 kB / 1.482 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.6811, allocations: 184.1 kB / 1.482 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.6812, allocations: 105 kB / 1.483 GB, free: 0.668 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.6813, allocations: 180.3 kB / 1.483 GB, free: 496 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.566e-05/0.6813, allocations: 104.9 kB / 1.483 GB, free: 384 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001168/0.6815, allocations: 135.5 kB / 1.483 GB, free: 248 kB / 1.17 GB Notification: Performance of sort global known variables: time 6e-08/0.6815, allocations: 0 / 1.483 GB, free: 248 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002603/0.6817, allocations: 31.95 kB / 1.483 GB, free: 216 kB / 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.0001469/0.6819, allocations: 170.5 kB / 1.483 GB, free: 36 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.682, allocations: 19.94 kB / 1.483 GB, free: 16 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.682, allocations: 0 / 1.483 GB, free: 16 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.682, allocations: 3.938 kB / 1.483 GB, free: 12 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.6825, allocations: 471.7 kB / 1.484 GB, free: 15.55 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005406/0.683, allocations: 323.8 kB / 1.484 GB, free: 15.2 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.6832, allocations: 109.6 kB / 1.484 GB, free: 15.08 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 5.355e-05/0.6832, allocations: 16.45 kB / 1.484 GB, free: 15.06 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.6833, allocations: 11.44 kB / 1.484 GB, free: 15.05 MB / 1.186 GB Notification: Performance of SimCode: time 5.61e-07/0.6833, allocations: 0 / 1.484 GB, free: 15.05 MB / 1.186 GB Notification: Performance of Templates: time 0.00411/0.6874, allocations: 0.9927 MB / 1.485 GB, free: 14.07 MB / 1.186 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 -s gbode -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: 10.020803264997085]