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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, 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.001125/0.001125, allocations: 192.8 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.277/2.277, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 71.84 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5152/0.5165, allocations: 140.4 MB / 0.9497 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1566/0.6731, allocations: 166.1 MB / 1.112 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005259/0.6784, allocations: 5.704 MB / 1.117 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.6786, allocations: 7.938 kB / 1.117 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.679, allocations: 95.31 kB / 1.118 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.6792, allocations: 55.61 kB / 1.118 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001154/0.6793, allocations: 39.94 kB / 1.118 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.6796, allocations: 211.1 kB / 1.118 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.6798, allocations: 90.58 kB / 1.118 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.68, allocations: 103.6 kB / 1.118 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.6801, allocations: 67.7 kB / 1.118 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.6801, allocations: 12 kB / 1.118 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 2.531e-05/0.6802, allocations: 8 kB / 1.118 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.6802, allocations: 35.86 kB / 1.118 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 7.538e-05/0.6803, allocations: 75.59 kB / 1.118 GB, free: 4.621 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.6805, allocations: 155.5 kB / 1.118 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.6805, allocations: 0 / 1.118 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6805, allocations: 0 / 1.118 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.6805, allocations: 0 / 1.118 GB, free: 4.469 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.000502/0.681, allocations: 438.9 kB / 1.119 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.6811, allocations: 12.02 kB / 1.119 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.6811, allocations: 42.56 kB / 1.119 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.6811, allocations: 27.75 kB / 1.119 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.6814, allocations: 248.2 kB / 1.119 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.6814, allocations: 12.23 kB / 1.119 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.6814, allocations: 15.98 kB / 1.119 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.6817, allocations: 173.4 kB / 1.119 GB, free: 3.395 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.6817, allocations: 0 / 1.119 GB, free: 3.395 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.6817, allocations: 7.938 kB / 1.119 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6817, allocations: 4 kB / 1.119 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.6818, allocations: 67.89 kB / 1.119 GB, free: 3.316 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007677/0.6826, allocations: 1.152 MB / 1.121 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 6.559e-05/0.6827, allocations: 169.1 kB / 1.121 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.6827, allocations: 88.08 kB / 1.121 GB, free: 1.82 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.6827, allocations: 75.28 kB / 1.121 GB, free: 1.746 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.6828, allocations: 105.8 kB / 1.121 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.6828, allocations: 3.938 kB / 1.121 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 7.846e-05/0.6829, allocations: 49.5 kB / 1.121 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.683, allocations: 186 kB / 1.121 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.6832, allocations: 245 kB / 1.121 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.6832, allocations: 25.7 kB / 1.121 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.6833, allocations: 139.9 kB / 1.122 GB, free: 0.9492 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.6833, allocations: 0 / 1.122 GB, free: 0.9492 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.6833, allocations: 21.62 kB / 1.122 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.6834, allocations: 330.8 kB / 1.122 GB, free: 0.5898 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.6835, allocations: 8 kB / 1.122 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.444e-05/0.6835, allocations: 71.72 kB / 1.122 GB, free: 496 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.157e-05/0.6836, allocations: 44.23 kB / 1.122 GB, free: 436 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6836, allocations: 0 / 1.122 GB, free: 436 kB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001513/0.6838, allocations: 97.23 kB / 1.122 GB, free: 332 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.6838, allocations: 4 kB / 1.122 GB, free: 328 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6838, allocations: 4 kB / 1.122 GB, free: 324 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.6838, allocations: 0 / 1.122 GB, free: 324 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/0.6839, allocations: 8 kB / 1.122 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.6839, allocations: 0 / 1.122 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.503e-05/0.684, allocations: 27.98 kB / 1.122 GB, free: 288 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.684, allocations: 0 / 1.122 GB, free: 288 kB / 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.0001067/0.6841, allocations: 205.1 kB / 1.122 GB, free: 72 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.839e-05/0.6842, allocations: 124.7 kB / 1.122 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.6842, allocations: 121.8 kB / 1.123 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.672e-05/0.6843, allocations: 180.2 kB / 1.123 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.091e-05/0.6843, allocations: 180.3 kB / 1.123 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.982e-05/0.6844, allocations: 184.2 kB / 1.123 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.6846, allocations: 453.1 kB / 1.124 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.997e-05/0.6847, allocations: 112.9 kB / 1.124 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.6847, allocations: 101.1 kB / 1.124 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.523e-05/0.6847, allocations: 176.3 kB / 1.124 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.6848, allocations: 188.2 kB / 1.124 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.49e-05/0.6849, allocations: 188.2 kB / 1.124 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-05/0.6849, allocations: 180.4 kB / 1.124 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.685, allocations: 323.6 kB / 1.125 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.052e-05/0.6851, allocations: 205.8 kB / 1.125 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.816e-05/0.6852, allocations: 180.2 kB / 1.125 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.6853, allocations: 108.9 kB / 1.125 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.6854, allocations: 176.3 kB / 1.125 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.6854, allocations: 105 kB / 1.125 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001594/0.6856, allocations: 184.5 kB / 1.126 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.342e-06/0.6856, allocations: 4 kB / 1.126 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002567/0.6858, allocations: 23.94 kB / 1.126 GB, free: 12.43 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.0003171/0.6861, allocations: 0.8203 MB / 1.126 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 7.574e-05/0.6862, allocations: 24.17 kB / 1.127 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6862, allocations: 4.062 kB / 1.127 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.6862, allocations: 0 / 1.127 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/0.6868, allocations: 0.5097 MB / 1.127 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.6885, allocations: 2.037 MB / 1.129 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.6888, allocations: 0.7202 MB / 1.13 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 8.287e-05/0.6889, allocations: 21.55 kB / 1.13 GB, free: 8.137 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.6889, allocations: 39.42 kB / 1.13 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of SimCode: time 2.5e-07/0.6889, allocations: 0 / 1.13 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.7076, allocations: 3.814 MB / 1.133 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/7.781, allocations: 11.05 kB / 1.133 GB, free: 4.352 MB / 0.8887 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.csv","/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