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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001115/0.001115, allocations: 98.88 kB / 16.02 MB, free: 76 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.001299/0.001299, allocations: 182.6 kB / 16.92 MB, free: 6.918 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.497/1.497, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003808, allocations: 12.28 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.749/0.7494, allocations: 142.4 MB / 0.9557 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1831/0.9326, allocations: 161.8 MB / 1.114 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005427/0.9381, allocations: 5.621 MB / 1.119 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.9383, allocations: 8 kB / 1.119 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.9387, allocations: 79.5 kB / 1.119 GB, free: 7.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.9389, allocations: 51.67 kB / 1.119 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001146/0.9391, allocations: 23.98 kB / 1.119 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000292/0.9394, allocations: 263 kB / 1.12 GB, free: 7.238 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.9396, allocations: 83.42 kB / 1.12 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.9398, allocations: 83.59 kB / 1.12 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.9399, allocations: 59.7 kB / 1.12 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.9399, allocations: 0 / 1.12 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 1.666e-05/0.94, allocations: 4 kB / 1.12 GB, free: 7.012 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 4.271e-05/0.94, allocations: 23.86 kB / 1.12 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 7.345e-05/0.9401, allocations: 73.39 kB / 1.12 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.9402, allocations: 123.6 kB / 1.12 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.9402, allocations: 0 / 1.12 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9402, allocations: 0 / 1.12 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.9402, allocations: 7.938 kB / 1.12 GB, free: 6.781 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.0005079/0.9408, allocations: 415 kB / 1.12 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.9408, allocations: 11.97 kB / 1.12 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.9409, allocations: 19.81 kB / 1.12 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.9412, allocations: 246.6 kB / 1.121 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.9412, allocations: 4.234 kB / 1.121 GB, free: 6.012 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.9412, allocations: 12 kB / 1.121 GB, free: 6 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.9415, allocations: 170.1 kB / 1.121 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.9415, allocations: 3.938 kB / 1.121 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.9415, allocations: 8 kB / 1.121 GB, free: 5.793 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.9415, allocations: 7.984 kB / 1.121 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.9417, allocations: 67.89 kB / 1.121 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008268/0.9425, allocations: 1.148 MB / 1.122 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 7.766e-05/0.9426, allocations: 177.1 kB / 1.122 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.981e-05/0.9426, allocations: 80.14 kB / 1.122 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.9426, allocations: 79.22 kB / 1.122 GB, free: 4.148 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.9427, allocations: 113.8 kB / 1.122 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.183e-06/0.9427, allocations: 0 / 1.122 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.839e-05/0.9428, allocations: 41.52 kB / 1.123 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/0.9429, allocations: 186 kB / 1.123 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.9431, allocations: 249 kB / 1.123 GB, free: 3.523 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.9432, allocations: 29.7 kB / 1.123 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.251e-05/0.9433, allocations: 127.9 kB / 1.123 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/0.9433, allocations: 4 kB / 1.123 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/0.9433, allocations: 9.719 kB / 1.123 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.9434, allocations: 334.8 kB / 1.123 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.9434, allocations: 8 kB / 1.123 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.91e-05/0.9435, allocations: 67.72 kB / 1.123 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.608e-05/0.9436, allocations: 52.16 kB / 1.124 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.9436, allocations: 0 / 1.124 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001443/0.9437, allocations: 89.31 kB / 1.124 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.9437, allocations: 4 kB / 1.124 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.9437, allocations: 4 kB / 1.124 GB, free: 2.734 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.9438, allocations: 0 / 1.124 GB, free: 2.734 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.9438, allocations: 8.156 kB / 1.124 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.9438, allocations: 4 kB / 1.124 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.944, allocations: 31.86 kB / 1.124 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-06/0.944, allocations: 0 / 1.124 GB, free: 2.691 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.0001113/0.9441, allocations: 205.1 kB / 1.124 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/0.9442, allocations: 128.8 kB / 1.124 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.813e-05/0.9442, allocations: 125.8 kB / 1.124 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.292e-05/0.9443, allocations: 188.2 kB / 1.124 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.136e-05/0.9443, allocations: 176.3 kB / 1.124 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.271e-05/0.9444, allocations: 184.2 kB / 1.125 GB, free: 1.66 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.9447, allocations: 449.2 kB / 1.125 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.98e-05/0.9447, allocations: 112.9 kB / 1.125 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.9447, allocations: 101 kB / 1.125 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-05/0.9448, allocations: 180.3 kB / 1.125 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.9449, allocations: 184.2 kB / 1.126 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.568e-05/0.9449, allocations: 180.2 kB / 1.126 GB, free: 396 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.117e-05/0.945, allocations: 180.2 kB / 1.126 GB, free: 208 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.9451, allocations: 319.6 kB / 1.126 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.9452, allocations: 205.8 kB / 1.126 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.442e-05/0.9453, allocations: 176.3 kB / 1.127 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.9454, allocations: 108.9 kB / 1.127 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/0.9455, allocations: 180.2 kB / 1.127 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.9455, allocations: 105 kB / 1.127 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001658/0.9457, allocations: 188.5 kB / 1.127 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9457, allocations: 3.938 kB / 1.127 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002466/0.946, allocations: 20 kB / 1.127 GB, free: 14.85 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.0001205/0.9461, allocations: 174.5 kB / 1.127 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 8.198e-05/0.9462, allocations: 16 kB / 1.127 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.9462, allocations: 0 / 1.127 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 4.018e-06/0.9462, allocations: 8.25 kB / 1.127 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000642/0.9469, allocations: 0.5813 MB / 1.128 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.9473, allocations: 383.2 kB / 1.128 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.9476, allocations: 0.7127 MB / 1.129 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.9476, allocations: 15.44 kB / 1.129 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of SimCode: time 4.01e-07/0.9477, allocations: 0 / 1.129 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of Templates: time 0.003634/0.9513, allocations: 1.976 MB / 1.131 GB, free: 10.93 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/jenkins1/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