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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001803/0.001803, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 197.3 kB / 16.14 MB, free: 6.699 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.61/1.61, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.352/3.352, allocations: 482.4 MB / 0.7542 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 66.2 kB / 0.9231 GB, free: 29.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4179, allocations: 162.2 MB / 1.082 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.221/0.6389, allocations: 163.9 MB / 1.242 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007022/0.6459, allocations: 5.689 MB / 1.247 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003268/0.6463, allocations: 15.94 kB / 1.247 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.6469, allocations: 79.44 kB / 1.247 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.6472, allocations: 59.66 kB / 1.247 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.6473, allocations: 23.98 kB / 1.247 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000372/0.6477, allocations: 255.1 kB / 1.248 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.6479, allocations: 95.16 kB / 1.248 GB, free: 3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.6482, allocations: 95.64 kB / 1.248 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.6483, allocations: 67.59 kB / 1.248 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.6484, allocations: 8 kB / 1.248 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.638e-05/0.6484, allocations: 8 kB / 1.248 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.6485, allocations: 27.91 kB / 1.248 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.358e-05/0.6486, allocations: 67.61 kB / 1.248 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.6488, allocations: 151.5 kB / 1.248 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6488, allocations: 0 / 1.248 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6488, allocations: 0 / 1.248 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.6488, allocations: 0 / 1.248 GB, free: 2.582 MB / 0.9981 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.0009309/0.6498, allocations: 446.6 kB / 1.249 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.6498, allocations: 8.031 kB / 1.249 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.469e-05/0.6499, allocations: 23.81 kB / 1.249 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.6502, allocations: 242.5 kB / 1.249 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.6503, allocations: 12 kB / 1.249 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.6503, allocations: 12 kB / 1.249 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.6506, allocations: 170.1 kB / 1.249 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.6506, allocations: 0 / 1.249 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.6507, allocations: 8 kB / 1.249 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.6507, allocations: 4 kB / 1.249 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.6508, allocations: 63.84 kB / 1.249 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.652, allocations: 1.152 MB / 1.25 GB, free: 272 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.6521, allocations: 177.1 kB / 1.25 GB, free: 84 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.6522, allocations: 80.14 kB / 1.25 GB, free: 0 / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7804/1.433, allocations: 79.03 kB / 1.25 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.286e-05/1.433, allocations: 109.9 kB / 1.251 GB, free: 178 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 3.196e-06/1.433, allocations: 0.5312 kB / 1.251 GB, free: 178 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001642/1.433, allocations: 44.27 kB / 1.251 GB, free: 178 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/1.433, allocations: 179.9 kB / 1.251 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/1.433, allocations: 249.7 kB / 1.251 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/1.433, allocations: 26.94 kB / 1.251 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/1.433, allocations: 127.9 kB / 1.251 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-06/1.433, allocations: 0.6562 kB / 1.251 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/1.434, allocations: 27.39 kB / 1.251 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.166e-05/1.434, allocations: 327.6 kB / 1.252 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.903e-05/1.434, allocations: 10.78 kB / 1.252 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.457e-05/1.434, allocations: 66.33 kB / 1.252 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.621e-05/1.434, allocations: 52.28 kB / 1.252 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.434, allocations: 0.8125 kB / 1.252 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000187/1.434, allocations: 93.19 kB / 1.252 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/1.434, allocations: 5.969 kB / 1.252 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.434, allocations: 2.078 kB / 1.252 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.434, allocations: 4.969 kB / 1.252 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/1.434, allocations: 12.58 kB / 1.252 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/1.434, allocations: 2.703 kB / 1.252 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/1.434, allocations: 17.09 kB / 1.252 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/1.434, allocations: 3.219 kB / 1.252 GB, free: 177.1 MB / 0.9981 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.0001139/1.434, allocations: 213.8 kB / 1.252 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/1.435, allocations: 117.8 kB / 1.252 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.242e-05/1.435, allocations: 123.5 kB / 1.252 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.28e-05/1.435, allocations: 177.7 kB / 1.252 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.505e-05/1.435, allocations: 185.7 kB / 1.253 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.438e-05/1.435, allocations: 181.2 kB / 1.253 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/1.435, allocations: 454.9 kB / 1.253 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/1.435, allocations: 110.7 kB / 1.253 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/1.435, allocations: 106.5 kB / 1.253 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.295e-05/1.435, allocations: 182.2 kB / 1.254 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/1.435, allocations: 177.6 kB / 1.254 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-05/1.435, allocations: 178.7 kB / 1.254 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.088e-05/1.435, allocations: 185.6 kB / 1.254 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.034e-05/1.435, allocations: 323.4 kB / 1.254 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.246e-05/1.435, allocations: 197.2 kB / 1.255 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.191e-05/1.435, allocations: 179.5 kB / 1.255 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.236e-05/1.435, allocations: 107.4 kB / 1.255 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/1.435, allocations: 184.5 kB / 1.255 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/1.436, allocations: 106.4 kB / 1.255 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001965/1.436, allocations: 182.7 kB / 1.255 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.01e-07/1.436, allocations: 0 / 1.255 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002516/1.436, allocations: 23.72 kB / 1.255 GB, free: 173.6 MB / 0.9981 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.0001392/1.436, allocations: 175.3 kB / 1.255 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001263/1.436, allocations: 21 kB / 1.255 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.436, allocations: 0.875 kB / 1.255 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/1.436, allocations: 0 / 1.255 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006137/1.437, allocations: 0.5765 MB / 1.256 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005194/1.437, allocations: 348 kB / 1.256 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/1.438, allocations: 0.7211 MB / 1.257 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.993e-05/1.438, allocations: 24.28 kB / 1.257 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/1.438, allocations: 15.34 kB / 1.257 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/1.438, allocations: 0 / 1.257 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.00896/1.447, allocations: 1.86 MB / 1.259 GB, free: 171.8 MB / 0.9981 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=400 -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/jenkins/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