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.001789/0.001789, allocations: 112.3 kB / 17.13 MB, free: 5.926 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.001993/0.001993, allocations: 205 kB / 20.09 MB, free: 2.977 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.577/1.577, allocations: 230.6 MB / 253.5 MB, free: 15.06 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.08/3.08, allocations: 0.49 GB / 0.7923 GB, free: 1.238 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.002299/0.002299, allocations: 63.91 kB / 1.15 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.254/1.319, allocations: 169.5 MB / 1.487 GB, free: 11.86 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007356/1.327, allocations: 5.745 MB / 1.493 GB, free: 7.219 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003447/1.327, allocations: 13.66 kB / 1.493 GB, free: 7.211 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004905/1.328, allocations: 91.5 kB / 1.493 GB, free: 7.133 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002538/1.328, allocations: 68.94 kB / 1.493 GB, free: 7.074 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/1.328, allocations: 29.5 kB / 1.493 GB, free: 7.051 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003667/1.328, allocations: 211.3 kB / 1.494 GB, free: 6.93 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/1.329, allocations: 67.38 kB / 1.494 GB, free: 6.887 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/1.329, allocations: 106.7 kB / 1.494 GB, free: 6.828 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/1.329, allocations: 73.88 kB / 1.494 GB, free: 6.781 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/1.329, allocations: 13.34 kB / 1.494 GB, free: 6.777 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 2.615e-05/1.329, allocations: 10.06 kB / 1.494 GB, free: 6.777 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 6.168e-05/1.329, allocations: 31.02 kB / 1.494 GB, free: 6.754 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 9.932e-05/1.329, allocations: 72.2 kB / 1.494 GB, free: 6.707 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/1.33, allocations: 158.8 kB / 1.494 GB, free: 6.598 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.33, allocations: 0 / 1.494 GB, free: 6.598 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.166e-06/1.33, allocations: 1.281 kB / 1.494 GB, free: 6.598 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.775e-06/1.33, allocations: 0 / 1.494 GB, free: 6.598 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.0007409/1.33, allocations: 447.3 kB / 1.494 GB, free: 6.156 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.33, allocations: 18.2 kB / 1.494 GB, free: 6.148 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/1.33, allocations: 16.94 kB / 1.494 GB, free: 6.141 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/1.331, allocations: 258.8 kB / 1.495 GB, free: 5.879 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/1.331, allocations: 8.594 kB / 1.495 GB, free: 5.875 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/1.331, allocations: 16.78 kB / 1.495 GB, free: 5.867 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/1.331, allocations: 158.1 kB / 1.495 GB, free: 5.727 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/1.331, allocations: 5.156 kB / 1.495 GB, free: 5.723 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/1.331, allocations: 6.062 kB / 1.495 GB, free: 5.719 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/1.331, allocations: 7.219 kB / 1.495 GB, free: 5.715 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/1.331, allocations: 73.72 kB / 1.495 GB, free: 5.676 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/1.332, allocations: 1.151 MB / 1.496 GB, free: 4.523 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/1.332, allocations: 170.3 kB / 1.496 GB, free: 4.348 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/1.332, allocations: 80.14 kB / 1.496 GB, free: 4.266 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/1.333, allocations: 79.22 kB / 1.496 GB, free: 4.188 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.648e-05/1.333, allocations: 111.4 kB / 1.497 GB, free: 4.07 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/1.333, allocations: 0 / 1.497 GB, free: 4.07 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 9.614e-05/1.333, allocations: 45.92 kB / 1.497 GB, free: 4.027 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.333, allocations: 183.3 kB / 1.497 GB, free: 3.824 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/1.333, allocations: 250.2 kB / 1.497 GB, free: 3.648 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/1.333, allocations: 26.95 kB / 1.497 GB, free: 3.617 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/1.333, allocations: 140.8 kB / 1.497 GB, free: 3.484 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-06/1.333, allocations: 5.031 kB / 1.497 GB, free: 3.48 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/1.333, allocations: 24.47 kB / 1.497 GB, free: 3.457 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.333, allocations: 322.6 kB / 1.497 GB, free: 3.137 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.683e-05/1.334, allocations: 13.14 kB / 1.497 GB, free: 3.129 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/1.334, allocations: 62.62 kB / 1.498 GB, free: 3.051 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.951e-05/1.334, allocations: 51.64 kB / 1.498 GB, free: 2.996 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.334, allocations: 0 / 1.498 GB, free: 2.996 MB / 1.17 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000199/1.334, allocations: 92.05 kB / 1.498 GB, free: 2.93 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/1.334, allocations: 9.25 kB / 1.498 GB, free: 2.926 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.334, allocations: 2.281 kB / 1.498 GB, free: 2.926 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/1.334, allocations: 1.25 kB / 1.498 GB, free: 2.926 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/1.334, allocations: 7.625 kB / 1.498 GB, free: 2.926 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/1.334, allocations: 5.406 kB / 1.498 GB, free: 2.922 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.198e-05/1.334, allocations: 17.03 kB / 1.498 GB, free: 2.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/1.334, allocations: 2.125 kB / 1.498 GB, free: 2.91 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.0001548/1.334, allocations: 212.2 kB / 1.498 GB, free: 2.703 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/1.334, allocations: 128.8 kB / 1.498 GB, free: 2.578 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.25e-05/1.334, allocations: 125 kB / 1.498 GB, free: 2.457 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.607e-05/1.334, allocations: 177.2 kB / 1.498 GB, free: 2.277 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-05/1.335, allocations: 189.6 kB / 1.499 GB, free: 2.086 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.692e-05/1.335, allocations: 176.3 kB / 1.499 GB, free: 1.906 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/1.335, allocations: 453.7 kB / 1.499 GB, free: 1.426 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.668e-05/1.335, allocations: 114 kB / 1.499 GB, free: 1.309 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/1.335, allocations: 105 kB / 1.499 GB, free: 1.199 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.797e-05/1.335, allocations: 181.4 kB / 1.5 GB, free: 1.016 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.57e-05/1.335, allocations: 177.5 kB / 1.5 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.964e-05/1.335, allocations: 177.5 kB / 1.5 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.129e-05/1.335, allocations: 189 kB / 1.5 GB, free: 476 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/1.336, allocations: 322 kB / 1.5 GB, free: 140 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/1.336, allocations: 199.9 kB / 1.501 GB, free: 15.92 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/1.336, allocations: 181.7 kB / 1.501 GB, free: 15.74 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/1.336, allocations: 110 kB / 1.501 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.336, allocations: 181.5 kB / 1.501 GB, free: 15.44 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/1.336, allocations: 106.4 kB / 1.501 GB, free: 15.33 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002014/1.336, allocations: 185.4 kB / 1.501 GB, free: 15.21 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.336, allocations: 0.9062 kB / 1.501 GB, free: 15.21 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000257/1.337, allocations: 24.16 kB / 1.501 GB, free: 15.2 MB / 1.186 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.00017/1.337, allocations: 169.1 kB / 1.501 GB, free: 15.04 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001206/1.337, allocations: 32.23 kB / 1.501 GB, free: 15.02 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.337, allocations: 0 / 1.501 GB, free: 15.02 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/1.337, allocations: 1.406 kB / 1.501 GB, free: 15.02 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007014/1.338, allocations: 0.5043 MB / 1.502 GB, free: 14.54 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006074/1.338, allocations: 350.3 kB / 1.502 GB, free: 14.24 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/1.339, allocations: 0.7174 MB / 1.503 GB, free: 13.52 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/1.339, allocations: 15.31 kB / 1.503 GB, free: 13.51 MB / 1.186 GB Notification: Performance of SimCode: time 3.71e-07/1.339, allocations: 0.9062 kB / 1.503 GB, free: 13.51 MB / 1.186 GB Notification: Performance of Templates: time 0.004814/1.343, allocations: 2.028 MB / 1.505 GB, free: 12.47 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 -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.58410749900213]