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.007508/0.007507, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001522/0.001523, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.457/2.457, allocations: 390.2 MB / 0.6648 GB, free: 128 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 61.73 kB / 0.9508 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3837, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2464/0.6301, allocations: 166.1 MB / 1.25 GB, free: 10.78 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008172/0.6383, allocations: 5.692 MB / 1.256 GB, free: 5.066 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000369/0.6387, allocations: 4 kB / 1.256 GB, free: 5.062 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005789/0.6393, allocations: 99.31 kB / 1.256 GB, free: 4.965 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.6397, allocations: 67.53 kB / 1.256 GB, free: 4.898 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.6399, allocations: 27.97 kB / 1.256 GB, free: 4.871 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.6403, allocations: 219.1 kB / 1.256 GB, free: 4.656 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.6406, allocations: 94.61 kB / 1.256 GB, free: 4.562 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.6409, allocations: 107.6 kB / 1.256 GB, free: 4.457 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.6411, allocations: 79.58 kB / 1.256 GB, free: 4.379 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.6412, allocations: 8 kB / 1.256 GB, free: 4.371 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.992e-05/0.6412, allocations: 12 kB / 1.256 GB, free: 4.359 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/0.6413, allocations: 23.92 kB / 1.256 GB, free: 4.336 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.6414, allocations: 67.61 kB / 1.256 GB, free: 4.27 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003927/0.6418, allocations: 167.3 kB / 1.257 GB, free: 4.105 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.6419, allocations: 0 / 1.257 GB, free: 4.105 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.116e-06/0.6419, allocations: 0 / 1.257 GB, free: 4.105 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.6419, allocations: 0 / 1.257 GB, free: 4.105 MB / 1.014 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.0008833/0.6428, allocations: 446.8 kB / 1.257 GB, free: 3.621 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.6429, allocations: 12.03 kB / 1.257 GB, free: 3.609 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.6429, allocations: 19.86 kB / 1.257 GB, free: 3.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.6434, allocations: 247.8 kB / 1.257 GB, free: 3.309 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.6434, allocations: 8.234 kB / 1.257 GB, free: 3.301 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.6434, allocations: 16 kB / 1.257 GB, free: 3.285 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.6438, allocations: 172.7 kB / 1.257 GB, free: 3.086 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.6439, allocations: 3.938 kB / 1.257 GB, free: 3.082 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.6439, allocations: 8 kB / 1.257 GB, free: 3.074 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.6439, allocations: 4 kB / 1.258 GB, free: 3.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.6441, allocations: 63.91 kB / 1.258 GB, free: 3.008 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.6453, allocations: 1.156 MB / 1.259 GB, free: 1.773 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.6454, allocations: 173.1 kB / 1.259 GB, free: 1.594 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.001e-05/0.6455, allocations: 84.12 kB / 1.259 GB, free: 1.508 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.687e-05/0.6456, allocations: 83.22 kB / 1.259 GB, free: 1.426 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.824e-05/0.6456, allocations: 105.8 kB / 1.259 GB, free: 1.312 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.6456, allocations: 3.938 kB / 1.259 GB, free: 1.309 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001289/0.6458, allocations: 45.61 kB / 1.259 GB, free: 1.258 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.6459, allocations: 186 kB / 1.259 GB, free: 1.051 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.6463, allocations: 245 kB / 1.26 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.6463, allocations: 29.7 kB / 1.26 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.6464, allocations: 139.9 kB / 1.26 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-06/0.6465, allocations: 0 / 1.26 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.6465, allocations: 21.7 kB / 1.26 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.6467, allocations: 326.8 kB / 1.26 GB, free: 280 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.03e-05/0.6467, allocations: 8 kB / 1.26 GB, free: 272 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.969e-05/0.6468, allocations: 71.72 kB / 1.26 GB, free: 172 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.125e-05/0.6469, allocations: 48.22 kB / 1.26 GB, free: 108 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6469, allocations: 0 / 1.26 GB, free: 108 kB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000243/0.6472, allocations: 93.41 kB / 1.26 GB, free: 8 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.6472, allocations: 4 kB / 1.26 GB, free: 4 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.8159/1.463, allocations: 4.094 kB / 1.26 GB, free: 177.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.933e-05/1.463, allocations: 0 / 1.26 GB, free: 177.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/1.463, allocations: 6.266 kB / 1.26 GB, free: 177.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/1.463, allocations: 4.5 kB / 1.26 GB, free: 177.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/1.464, allocations: 18.05 kB / 1.26 GB, free: 177.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/1.464, allocations: 5.594 kB / 1.26 GB, free: 177.6 MB / 1.014 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.0001721/1.464, allocations: 205.3 kB / 1.261 GB, free: 177.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/1.464, allocations: 124.2 kB / 1.261 GB, free: 177.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.512e-05/1.464, allocations: 125.2 kB / 1.261 GB, free: 177.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-05/1.464, allocations: 179 kB / 1.261 GB, free: 177 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.243e-05/1.464, allocations: 185.1 kB / 1.261 GB, free: 176.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.715e-05/1.464, allocations: 177.8 kB / 1.261 GB, free: 176.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/1.464, allocations: 452.4 kB / 1.262 GB, free: 176.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-05/1.464, allocations: 110.7 kB / 1.262 GB, free: 176.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/1.464, allocations: 104.2 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.856e-05/1.464, allocations: 180.6 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/1.465, allocations: 191.1 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-05/1.465, allocations: 180.7 kB / 1.262 GB, free: 175.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.79e-05/1.465, allocations: 177.5 kB / 1.263 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/1.465, allocations: 327.2 kB / 1.263 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-05/1.465, allocations: 193.9 kB / 1.263 GB, free: 174.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.208e-05/1.465, allocations: 186 kB / 1.263 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/1.465, allocations: 106.5 kB / 1.263 GB, free: 174.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/1.465, allocations: 182.5 kB / 1.264 GB, free: 174.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/1.465, allocations: 106.3 kB / 1.264 GB, free: 174.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002256/1.465, allocations: 183.9 kB / 1.264 GB, free: 174.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/1.465, allocations: 2.812 kB / 1.264 GB, free: 174.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003183/1.466, allocations: 23.22 kB / 1.264 GB, free: 174.1 MB / 1.014 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.0001543/1.466, allocations: 175.2 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001377/1.466, allocations: 21.88 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.466, allocations: 0 / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/1.466, allocations: 0.7812 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/1.467, allocations: 0.5119 MB / 1.265 GB, free: 173.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005947/1.467, allocations: 328 kB / 1.265 GB, free: 173.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/1.467, allocations: 0.7179 MB / 1.266 GB, free: 172.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.149e-05/1.468, allocations: 24.67 kB / 1.266 GB, free: 172.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/1.468, allocations: 16.66 kB / 1.266 GB, free: 172.6 MB / 1.014 GB Notification: Performance of SimCode: time 2.31e-07/1.468, allocations: 0 / 1.266 GB, free: 172.6 MB / 1.014 GB Notification: Performance of Templates: time 0.007589/1.475, allocations: 1.952 MB / 1.268 GB, free: 172.5 MB / 1.014 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