Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001454/0.001454, allocations: 108 kB / 15.61 MB, free: 152 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.00124/0.00124, allocations: 197 kB / 16.53 MB, free: 6.664 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.512/1.512, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.634/2.634, allocations: 390.2 MB / 0.6646 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 68.12 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9292/0.9307, allocations: 140.4 MB / 0.9496 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2235/1.154, allocations: 166.1 MB / 1.112 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005933/1.16, allocations: 5.702 MB / 1.117 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/1.161, allocations: 4 kB / 1.117 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004581/1.161, allocations: 99.31 kB / 1.117 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.000235/1.161, allocations: 55.61 kB / 1.117 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/1.162, allocations: 39.89 kB / 1.118 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000307/1.162, allocations: 219.1 kB / 1.118 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/1.162, allocations: 82.64 kB / 1.118 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/1.162, allocations: 107.6 kB / 1.118 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/1.162, allocations: 67.7 kB / 1.118 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/1.163, allocations: 12 kB / 1.118 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 2.636e-05/1.163, allocations: 8 kB / 1.118 GB, free: 4.906 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/1.163, allocations: 35.8 kB / 1.118 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 9.695e-05/1.163, allocations: 71.61 kB / 1.118 GB, free: 4.801 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/1.163, allocations: 155.5 kB / 1.118 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.163, allocations: 0 / 1.118 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.068e-06/1.163, allocations: 3.984 kB / 1.118 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.544e-06/1.163, allocations: 0 / 1.118 GB, free: 4.645 MB / 0.8731 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.0007108/1.164, allocations: 438.9 kB / 1.119 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/1.164, allocations: 8.031 kB / 1.119 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/1.164, allocations: 19.8 kB / 1.119 GB, free: 4.141 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/1.164, allocations: 242.5 kB / 1.119 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/1.164, allocations: 8.234 kB / 1.119 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/1.164, allocations: 12 kB / 1.119 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/1.165, allocations: 181.3 kB / 1.119 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/1.165, allocations: 3.984 kB / 1.119 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/1.165, allocations: 4 kB / 1.119 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/1.165, allocations: 4 kB / 1.119 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/1.165, allocations: 71.78 kB / 1.119 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/1.166, allocations: 1.148 MB / 1.12 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 9.846e-05/1.166, allocations: 173.1 kB / 1.12 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/1.166, allocations: 80.14 kB / 1.121 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/1.166, allocations: 79.22 kB / 1.121 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.283e-05/1.166, allocations: 113.8 kB / 1.121 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/1.166, allocations: 3.938 kB / 1.121 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.37e-05/1.166, allocations: 49.45 kB / 1.121 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.864e-05/1.166, allocations: 178.1 kB / 1.121 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/1.167, allocations: 253 kB / 1.121 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/1.167, allocations: 25.7 kB / 1.121 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/1.167, allocations: 127.9 kB / 1.121 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.025e-06/1.167, allocations: 4 kB / 1.121 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/1.167, allocations: 17.72 kB / 1.121 GB, free: 1.168 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.167, allocations: 334.8 kB / 1.122 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/1.167, allocations: 4 kB / 1.122 GB, free: 0.8281 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.091e-05/1.167, allocations: 67.72 kB / 1.122 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.337e-05/1.167, allocations: 52.22 kB / 1.122 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.167, allocations: 4.062 kB / 1.122 GB, free: 0.6641 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001749/1.167, allocations: 89.38 kB / 1.122 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.167, allocations: 4 kB / 1.122 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.167, allocations: 0 / 1.122 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.167, allocations: 12.19 kB / 1.122 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/1.167, allocations: 15.92 kB / 1.122 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/1.167, allocations: 3.984 kB / 1.122 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.28e-05/1.168, allocations: 19.75 kB / 1.122 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/1.168, allocations: 4 kB / 1.122 GB, free: 0.5117 MB / 0.8731 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.0001547/1.168, allocations: 205.1 kB / 1.122 GB, free: 308 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/1.168, allocations: 120.7 kB / 1.122 GB, free: 180 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.574e-05/1.168, allocations: 125.8 kB / 1.122 GB, free: 48 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.603e-05/1.168, allocations: 180.3 kB / 1.123 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.378e-05/1.168, allocations: 180.2 kB / 1.123 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.476e-05/1.168, allocations: 180.3 kB / 1.123 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/1.168, allocations: 453.2 kB / 1.123 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.497e-05/1.168, allocations: 108.9 kB / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/1.169, allocations: 109 kB / 1.124 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-05/1.169, allocations: 180.2 kB / 1.124 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/1.169, allocations: 180.2 kB / 1.124 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-05/1.169, allocations: 176.3 kB / 1.124 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-05/1.169, allocations: 184.4 kB / 1.124 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/1.169, allocations: 323.6 kB / 1.125 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/1.169, allocations: 205.8 kB / 1.125 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-05/1.169, allocations: 184.2 kB / 1.125 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/1.169, allocations: 104.9 kB / 1.125 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/1.169, allocations: 184.2 kB / 1.125 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/1.169, allocations: 108.9 kB / 1.125 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001709/1.17, allocations: 180.5 kB / 1.125 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/1.17, allocations: 0 / 1.125 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002662/1.17, allocations: 20 kB / 1.125 GB, free: 12.68 MB / 0.8887 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.0001727/1.17, allocations: 174.5 kB / 1.126 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001162/1.17, allocations: 20.19 kB / 1.126 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.17, allocations: 4.062 kB / 1.126 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-06/1.17, allocations: 4 kB / 1.126 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007019/1.171, allocations: 0.5177 MB / 1.126 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/1.171, allocations: 319.5 kB / 1.126 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/1.172, allocations: 0.7124 MB / 1.127 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 7.88e-05/1.172, allocations: 33.52 kB / 1.127 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/1.172, allocations: 11.44 kB / 1.127 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of SimCode: time 2.1e-07/1.172, allocations: 3.938 kB / 1.127 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of Templates: time 0.005223/1.177, allocations: 1.933 MB / 1.129 GB, free: 8.918 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches