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.00153/0.001531, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002318/0.002318, allocations: 195 kB / 16.14 MB, free: 6.648 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.511/1.511, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.548/2.548, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.89 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8617/0.8629, allocations: 140.4 MB / 0.9489 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2147/1.078, allocations: 163.9 MB / 1.109 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006737/1.085, allocations: 5.695 MB / 1.115 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003921/1.085, allocations: 7.938 kB / 1.115 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005018/1.086, allocations: 79.5 kB / 1.115 GB, free: 7.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003525/1.086, allocations: 47.67 kB / 1.115 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/1.086, allocations: 27.97 kB / 1.115 GB, free: 7.766 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004079/1.086, allocations: 263 kB / 1.115 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002472/1.087, allocations: 87.42 kB / 1.115 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/1.087, allocations: 91.64 kB / 1.115 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/1.087, allocations: 71.64 kB / 1.115 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/1.087, allocations: 4 kB / 1.115 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 3.294e-05/1.087, allocations: 8 kB / 1.115 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 5.636e-05/1.087, allocations: 27.86 kB / 1.115 GB, free: 7.223 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 8.8e-05/1.088, allocations: 71.61 kB / 1.115 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/1.088, allocations: 151.5 kB / 1.115 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.088, allocations: 8 kB / 1.115 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.062e-06/1.088, allocations: 4 kB / 1.115 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.214e-06/1.088, allocations: 0 / 1.115 GB, free: 6.992 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.0007257/1.088, allocations: 435 kB / 1.116 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.089, allocations: 8.031 kB / 1.116 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/1.089, allocations: 23.81 kB / 1.116 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/1.089, allocations: 242.5 kB / 1.116 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/1.089, allocations: 12.23 kB / 1.116 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/1.089, allocations: 12 kB / 1.116 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/1.089, allocations: 173.8 kB / 1.116 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/1.089, allocations: 3.938 kB / 1.116 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/1.089, allocations: 4 kB / 1.116 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/1.089, allocations: 4 kB / 1.116 GB, free: 5.977 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/1.089, allocations: 71.84 kB / 1.116 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/1.09, allocations: 1.16 MB / 1.118 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.736e-05/1.091, allocations: 165.1 kB / 1.118 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/1.091, allocations: 88.02 kB / 1.118 GB, free: 4.406 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/1.091, allocations: 79.22 kB / 1.118 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.852e-05/1.091, allocations: 113.8 kB / 1.118 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/1.091, allocations: 0 / 1.118 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.934e-05/1.091, allocations: 45.55 kB / 1.118 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/1.091, allocations: 182.1 kB / 1.118 GB, free: 3.953 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/1.091, allocations: 245 kB / 1.118 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/1.091, allocations: 29.7 kB / 1.118 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/1.091, allocations: 131.9 kB / 1.119 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-06/1.091, allocations: 0 / 1.119 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/1.091, allocations: 29.7 kB / 1.119 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.092, allocations: 326.8 kB / 1.119 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/1.092, allocations: 7.938 kB / 1.119 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.878e-05/1.092, allocations: 67.72 kB / 1.119 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.992e-05/1.092, allocations: 52.22 kB / 1.119 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.092, allocations: 0 / 1.119 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001911/1.092, allocations: 85.44 kB / 1.119 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/1.092, allocations: 12.03 kB / 1.119 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.092, allocations: 0 / 1.119 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/1.092, allocations: 0 / 1.119 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.026e-05/1.092, allocations: 11.98 kB / 1.119 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/1.092, allocations: 4 kB / 1.119 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/1.092, allocations: 15.75 kB / 1.119 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/1.092, allocations: 8 kB / 1.119 GB, free: 2.867 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.0001596/1.092, allocations: 205 kB / 1.119 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.39e-05/1.093, allocations: 124.7 kB / 1.119 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.781e-05/1.093, allocations: 121.9 kB / 1.12 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.957e-05/1.093, allocations: 184.2 kB / 1.12 GB, free: 2.215 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.298e-05/1.093, allocations: 180.3 kB / 1.12 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.817e-05/1.093, allocations: 184.2 kB / 1.12 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/1.093, allocations: 453.2 kB / 1.121 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.365e-05/1.093, allocations: 104.9 kB / 1.121 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/1.093, allocations: 108.9 kB / 1.121 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.437e-05/1.093, allocations: 180.4 kB / 1.121 GB, free: 0.9375 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-05/1.093, allocations: 188.2 kB / 1.121 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.484e-05/1.093, allocations: 180.2 kB / 1.121 GB, free: 0.5625 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.678e-05/1.094, allocations: 184.2 kB / 1.121 GB, free: 384 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/1.094, allocations: 327.6 kB / 1.122 GB, free: 32 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/1.094, allocations: 201.8 kB / 1.122 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.108e-05/1.094, allocations: 180.2 kB / 1.122 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/1.094, allocations: 105 kB / 1.122 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/1.094, allocations: 184.2 kB / 1.122 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/1.094, allocations: 101 kB / 1.122 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001731/1.094, allocations: 188.5 kB / 1.123 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.61e-07/1.094, allocations: 0 / 1.123 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002666/1.095, allocations: 20 kB / 1.123 GB, free: 15.02 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.0001411/1.095, allocations: 170.5 kB / 1.123 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001092/1.095, allocations: 27.92 kB / 1.123 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.095, allocations: 0 / 1.123 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/1.095, allocations: 0 / 1.123 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007299/1.096, allocations: 0.5854 MB / 1.123 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005486/1.096, allocations: 341.3 kB / 1.124 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/1.097, allocations: 0.7205 MB / 1.124 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001043/1.097, allocations: 21.55 kB / 1.124 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/1.097, allocations: 15.44 kB / 1.124 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of SimCode: time 4.71e-07/1.097, allocations: 0 / 1.124 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of Templates: time 0.005272/1.102, allocations: 1.86 MB / 1.126 GB, free: 11.25 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