Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007794/0.0007793, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008451/0.0008451, allocations: 184.1 kB / 16.92 MB, free: 6.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.846/2.846, allocations: 443.2 MB / 0.7181 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004025, allocations: 15.52 kB / 0.8801 GB, free: 42.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3178, allocations: 155.1 MB / 1.032 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1856/0.5035, allocations: 161.8 MB / 1.19 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005959/0.5095, allocations: 5.619 MB / 1.195 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.5098, allocations: 11.94 kB / 1.195 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.5102, allocations: 75.52 kB / 1.195 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.5104, allocations: 51.66 kB / 1.195 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.5106, allocations: 27.97 kB / 1.195 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.511, allocations: 255 kB / 1.195 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.5112, allocations: 95.09 kB / 1.196 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.5115, allocations: 91.64 kB / 1.196 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.5116, allocations: 55.66 kB / 1.196 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.5116, allocations: 0 / 1.196 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.922e-05/0.5117, allocations: 4 kB / 1.196 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.5117, allocations: 23.86 kB / 1.196 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.241e-05/0.5118, allocations: 81.31 kB / 1.196 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.5119, allocations: 115.7 kB / 1.196 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5119, allocations: 0 / 1.196 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.467e-06/0.512, allocations: 4 kB / 1.196 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.512, allocations: 0 / 1.196 GB, free: 11.87 MB / 0.9512 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.0005296/0.5125, allocations: 414.9 kB / 1.196 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.5125, allocations: 11.97 kB / 1.196 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.5126, allocations: 27.72 kB / 1.196 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.5129, allocations: 234.6 kB / 1.197 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.5129, allocations: 8 kB / 1.197 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.513, allocations: 12 kB / 1.197 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.5132, allocations: 172.4 kB / 1.197 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.5132, allocations: 0 / 1.197 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.5133, allocations: 8 kB / 1.197 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.5133, allocations: 4 kB / 1.197 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.5134, allocations: 67.84 kB / 1.197 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008826/0.5143, allocations: 1.164 MB / 1.198 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.091e-05/0.5144, allocations: 165.1 kB / 1.198 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.5144, allocations: 84.14 kB / 1.198 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.5144, allocations: 79.22 kB / 1.198 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.5145, allocations: 113.8 kB / 1.198 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.5145, allocations: 4 kB / 1.198 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.525e-05/0.5146, allocations: 41.52 kB / 1.198 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.5147, allocations: 178.1 kB / 1.199 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.5149, allocations: 249 kB / 1.199 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.515, allocations: 29.7 kB / 1.199 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.932e-05/0.5151, allocations: 123.9 kB / 1.199 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-06/0.5151, allocations: 3.938 kB / 1.199 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.5151, allocations: 17.7 kB / 1.199 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5152, allocations: 330.8 kB / 1.199 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.5153, allocations: 8 kB / 1.199 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.244e-05/0.5153, allocations: 71.66 kB / 1.199 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.851e-05/0.5154, allocations: 48.22 kB / 1.199 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5154, allocations: 4 kB / 1.199 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001579/0.5156, allocations: 85.31 kB / 1.2 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.5156, allocations: 5.406 kB / 1.2 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.5156, allocations: 4 kB / 1.2 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.5156, allocations: 4.156 kB / 1.2 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.476e-05/0.5157, allocations: 11.98 kB / 1.2 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.5157, allocations: 0 / 1.2 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.69e-05/0.5158, allocations: 23.69 kB / 1.2 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.5158, allocations: 4 kB / 1.2 GB, free: 7.77 MB / 0.9512 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.0001255/0.5159, allocations: 206.6 kB / 1.2 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.516, allocations: 124.7 kB / 1.2 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.88e-05/0.5161, allocations: 125.8 kB / 1.2 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-05/0.5161, allocations: 180.2 kB / 1.2 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.368e-05/0.5162, allocations: 176.3 kB / 1.2 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.964e-05/0.5163, allocations: 184.2 kB / 1.201 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.5165, allocations: 457.2 kB / 1.201 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.829e-05/0.5166, allocations: 108.9 kB / 1.201 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.5166, allocations: 112.9 kB / 1.201 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.217e-05/0.5167, allocations: 180.2 kB / 1.201 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.273e-05/0.5168, allocations: 184.3 kB / 1.202 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.88e-05/0.5168, allocations: 180.2 kB / 1.202 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.399e-05/0.5169, allocations: 176.4 kB / 1.202 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.517, allocations: 327.6 kB / 1.202 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.718e-05/0.5171, allocations: 197.8 kB / 1.202 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.5172, allocations: 184.2 kB / 1.203 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.5173, allocations: 109 kB / 1.203 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.5174, allocations: 180.2 kB / 1.203 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.5174, allocations: 105 kB / 1.203 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001793/0.5176, allocations: 188.5 kB / 1.203 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.813e-06/0.5176, allocations: 0 / 1.203 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002476/0.5179, allocations: 23.94 kB / 1.203 GB, free: 3.926 MB / 0.9512 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.0001247/0.518, allocations: 166.5 kB / 1.203 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.5181, allocations: 28.17 kB / 1.203 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5181, allocations: 4.062 kB / 1.203 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.5182, allocations: 0 / 1.203 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006464/0.5188, allocations: 0.5757 MB / 1.204 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/0.5193, allocations: 379.2 kB / 1.204 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.5195, allocations: 0.7166 MB / 1.205 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.5196, allocations: 15.44 kB / 1.205 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/0.5196, allocations: 0 / 1.205 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of Templates: time 0.003784/0.5234, allocations: 1.968 MB / 1.207 GB, free: 20 kB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches