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.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.001741/0.001741, allocations: 79.5 kB / 19.76 MB, free: 2.031 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.001937/0.001937, allocations: 158.9 kB / 23.01 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.71/1.71, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.742/2.742, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002427/0.002427, allocations: 75.88 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3752, allocations: 169.9 MB / 1.117 GB, free: 2.539 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 1.077/1.452, allocations: 146.5 MB / 1.261 GB, free: 13.25 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007143/1.459, allocations: 5.187 MB / 1.266 GB, free: 9.758 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002697/1.459, allocations: 8.969 kB / 1.266 GB, free: 9.754 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005478/1.46, allocations: 97.59 kB / 1.266 GB, free: 9.688 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.000283/1.46, allocations: 59.64 kB / 1.266 GB, free: 9.648 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/1.46, allocations: 40.48 kB / 1.266 GB, free: 9.625 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0003967/1.461, allocations: 211.4 kB / 1.266 GB, free: 9.527 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/1.461, allocations: 61.92 kB / 1.266 GB, free: 9.492 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/1.461, allocations: 104.5 kB / 1.266 GB, free: 9.445 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/1.461, allocations: 64.5 kB / 1.266 GB, free: 9.418 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/1.461, allocations: 10.81 kB / 1.266 GB, free: 9.418 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 2.936e-05/1.461, allocations: 9.375 kB / 1.266 GB, free: 9.418 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 7.339e-05/1.462, allocations: 31.72 kB / 1.266 GB, free: 9.398 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 9.172e-05/1.462, allocations: 55.36 kB / 1.266 GB, free: 9.371 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/1.462, allocations: 171.1 kB / 1.266 GB, free: 9.305 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.462, allocations: 0 / 1.266 GB, free: 9.305 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.354e-06/1.462, allocations: 0 / 1.266 GB, free: 9.305 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.414e-06/1.462, allocations: 0 / 1.266 GB, free: 9.305 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.0007563/1.463, allocations: 372.1 kB / 1.267 GB, free: 8.973 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.463, allocations: 9 kB / 1.267 GB, free: 8.973 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/1.463, allocations: 17.84 kB / 1.267 GB, free: 8.965 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/1.463, allocations: 201.2 kB / 1.267 GB, free: 8.789 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/1.463, allocations: 9.562 kB / 1.267 GB, free: 8.785 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/1.463, allocations: 11.69 kB / 1.267 GB, free: 8.781 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/1.464, allocations: 217.6 kB / 1.267 GB, free: 8.59 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/1.464, allocations: 1.094 kB / 1.267 GB, free: 8.59 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/1.464, allocations: 6.812 kB / 1.267 GB, free: 8.586 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.789e-05/1.464, allocations: 3.094 kB / 1.267 GB, free: 8.586 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/1.464, allocations: 67.62 kB / 1.267 GB, free: 8.562 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/1.465, allocations: 1.051 MB / 1.268 GB, free: 7.555 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/1.465, allocations: 179 kB / 1.269 GB, free: 7.371 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.682e-05/1.465, allocations: 81.23 kB / 1.269 GB, free: 7.289 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/1.465, allocations: 80.31 kB / 1.269 GB, free: 7.211 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.571e-05/1.465, allocations: 107.4 kB / 1.269 GB, free: 7.098 MB / 1.123 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/1.465, allocations: 0 / 1.269 GB, free: 7.098 MB / 1.123 GB Notification: Performance of matching and sorting (n=0): time 9.53e-05/1.465, allocations: 40.89 kB / 1.269 GB, free: 7.059 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/1.466, allocations: 179.8 kB / 1.269 GB, free: 6.859 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/1.466, allocations: 183.8 kB / 1.269 GB, free: 6.73 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/1.466, allocations: 27.5 kB / 1.269 GB, free: 6.699 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/1.466, allocations: 141.2 kB / 1.269 GB, free: 6.574 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/1.466, allocations: 5.125 kB / 1.269 GB, free: 6.57 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/1.466, allocations: 21.05 kB / 1.269 GB, free: 6.551 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.00021/1.466, allocations: 325.3 kB / 1.27 GB, free: 6.23 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/1.466, allocations: 10.31 kB / 1.27 GB, free: 6.227 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/1.466, allocations: 171.6 kB / 1.27 GB, free: 6.023 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.236e-05/1.466, allocations: 50.67 kB / 1.27 GB, free: 5.973 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.466, allocations: 5.188 kB / 1.27 GB, free: 5.969 MB / 1.123 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001777/1.467, allocations: 80.38 kB / 1.27 GB, free: 5.918 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/1.467, allocations: 10.16 kB / 1.27 GB, free: 5.914 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.467, allocations: 1.891 kB / 1.27 GB, free: 5.914 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/1.467, allocations: 1.094 kB / 1.27 GB, free: 5.914 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.973e-05/1.467, allocations: 8.188 kB / 1.27 GB, free: 5.914 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.467, allocations: 3.031 kB / 1.27 GB, free: 5.914 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/1.467, allocations: 11.7 kB / 1.27 GB, free: 5.906 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/1.467, allocations: 3.25 kB / 1.27 GB, free: 5.906 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.0001572/1.467, allocations: 206.7 kB / 1.27 GB, free: 5.707 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-05/1.467, allocations: 119.9 kB / 1.27 GB, free: 5.59 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.825e-05/1.467, allocations: 120.3 kB / 1.27 GB, free: 5.477 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.929e-05/1.467, allocations: 182.1 kB / 1.271 GB, free: 5.293 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.37e-05/1.467, allocations: 178.2 kB / 1.271 GB, free: 5.113 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.353e-05/1.467, allocations: 182.3 kB / 1.271 GB, free: 4.93 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/1.468, allocations: 392.7 kB / 1.271 GB, free: 4.539 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-05/1.468, allocations: 103.6 kB / 1.271 GB, free: 4.434 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/1.468, allocations: 105.5 kB / 1.272 GB, free: 4.324 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-05/1.468, allocations: 182.5 kB / 1.272 GB, free: 4.141 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/1.468, allocations: 191.1 kB / 1.272 GB, free: 3.949 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.915e-05/1.468, allocations: 186 kB / 1.272 GB, free: 3.762 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.952e-05/1.468, allocations: 177.8 kB / 1.272 GB, free: 3.582 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/1.468, allocations: 315 kB / 1.273 GB, free: 3.262 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 8.73e-05/1.469, allocations: 117 kB / 1.273 GB, free: 3.148 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/1.469, allocations: 187 kB / 1.273 GB, free: 2.961 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/1.469, allocations: 103.5 kB / 1.273 GB, free: 2.855 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.004e-05/1.469, allocations: 186.4 kB / 1.273 GB, free: 2.668 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/1.469, allocations: 103.2 kB / 1.273 GB, free: 2.562 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001393/1.469, allocations: 130.4 kB / 1.273 GB, free: 2.473 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.469, allocations: 4 kB / 1.273 GB, free: 2.469 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002805/1.469, allocations: 28.61 kB / 1.273 GB, free: 2.461 MB / 1.123 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.0001659/1.469, allocations: 170.6 kB / 1.274 GB, free: 2.301 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001147/1.47, allocations: 22.02 kB / 1.274 GB, free: 2.293 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.47, allocations: 0 / 1.274 GB, free: 2.293 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/1.47, allocations: 1.281 kB / 1.274 GB, free: 2.293 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/1.47, allocations: 475.7 kB / 1.274 GB, free: 1.836 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005798/1.471, allocations: 322.2 kB / 1.274 GB, free: 1.574 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/1.471, allocations: 102.7 kB / 1.274 GB, free: 1.5 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 5.139e-05/1.471, allocations: 13.3 kB / 1.274 GB, free: 1.5 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/1.471, allocations: 12.5 kB / 1.274 GB, free: 1.492 MB / 1.123 GB Notification: Performance of SimCode: time 3.2e-07/1.471, allocations: 4 kB / 1.274 GB, free: 1.488 MB / 1.123 GB Notification: Performance of Templates: time 0.004046/1.475, allocations: 0.8146 MB / 1.275 GB, free: 1.371 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 400] 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: 10.085732539999299]