Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001525/0.001525, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001696/0.001696, allocations: 193 kB / 16.14 MB, free: 6.711 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.822/2.822, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 66.34 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3922, allocations: 157.4 MB / 1.052 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2023/0.5945, allocations: 163.9 MB / 1.212 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00589/0.6005, allocations: 5.701 MB / 1.218 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.6008, allocations: 7.938 kB / 1.218 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004415/0.6012, allocations: 71.52 kB / 1.218 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.6015, allocations: 51.72 kB / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.6017, allocations: 31.92 kB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.6021, allocations: 263.1 kB / 1.218 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.6023, allocations: 91.16 kB / 1.218 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.6025, allocations: 91.64 kB / 1.218 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.6027, allocations: 75.58 kB / 1.218 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.6027, allocations: 8 kB / 1.218 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.609e-05/0.6027, allocations: 8 kB / 1.218 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.6028, allocations: 23.91 kB / 1.218 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.66e-05/0.6029, allocations: 71.62 kB / 1.218 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.6031, allocations: 155.5 kB / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.8e-05/0.6031, allocations: 0 / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6031, allocations: 3.938 kB / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.6031, allocations: 0 / 1.219 GB, free: 13.71 MB / 0.9825 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.0007516/0.6039, allocations: 442.7 kB / 1.219 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.604, allocations: 8.031 kB / 1.219 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.604, allocations: 15.81 kB / 1.219 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.6044, allocations: 238.6 kB / 1.219 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.6044, allocations: 15.98 kB / 1.219 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.6044, allocations: 8 kB / 1.219 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.6047, allocations: 169.1 kB / 1.219 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.6047, allocations: 0 / 1.219 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.6047, allocations: 4 kB / 1.219 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.6048, allocations: 8 kB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.6049, allocations: 75.83 kB / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.606, allocations: 1.152 MB / 1.221 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.6061, allocations: 177.1 kB / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.6061, allocations: 80.14 kB / 1.221 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.6062, allocations: 83.22 kB / 1.221 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.073e-05/0.6062, allocations: 105.8 kB / 1.221 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 3.196e-06/0.6062, allocations: 0 / 1.221 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.703e-05/0.6063, allocations: 45.45 kB / 1.221 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.6064, allocations: 178.1 kB / 1.221 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.6067, allocations: 253 kB / 1.222 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.6067, allocations: 25.7 kB / 1.222 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.6069, allocations: 139.8 kB / 1.222 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.6069, allocations: 0 / 1.222 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.6069, allocations: 21.72 kB / 1.222 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.6071, allocations: 322.8 kB / 1.222 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.499e-05/0.6071, allocations: 11.98 kB / 1.222 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.6072, allocations: 71.66 kB / 1.222 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.217e-05/0.6073, allocations: 48.23 kB / 1.222 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6073, allocations: 0 / 1.222 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000176/0.6074, allocations: 89.38 kB / 1.222 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.6075, allocations: 11.92 kB / 1.222 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.6075, allocations: 0 / 1.222 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.6075, allocations: 4 kB / 1.222 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.971e-05/0.6076, allocations: 11.94 kB / 1.222 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.6076, allocations: 0 / 1.222 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.906e-05/0.6077, allocations: 11.84 kB / 1.222 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.6077, allocations: 4 kB / 1.222 GB, free: 9.598 MB / 0.9825 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.000152/0.6078, allocations: 217.2 kB / 1.223 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.6079, allocations: 124.7 kB / 1.223 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.479e-05/0.608, allocations: 117.8 kB / 1.223 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.123e-05/0.6081, allocations: 180.3 kB / 1.223 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-05/0.6082, allocations: 180.2 kB / 1.223 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.682e-05/0.6083, allocations: 180.2 kB / 1.223 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.6086, allocations: 453.1 kB / 1.224 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.346e-05/0.6087, allocations: 105 kB / 1.224 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.6087, allocations: 113 kB / 1.224 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-05/0.6088, allocations: 184.2 kB / 1.224 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.224e-05/0.6089, allocations: 176.3 kB / 1.224 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.902e-05/0.6089, allocations: 184.2 kB / 1.224 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-05/0.609, allocations: 180.3 kB / 1.225 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.6092, allocations: 323.6 kB / 1.225 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.6094, allocations: 193.8 kB / 1.225 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.6095, allocations: 196.2 kB / 1.225 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.6096, allocations: 105 kB / 1.225 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.054e-05/0.6097, allocations: 184.3 kB / 1.226 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/0.6098, allocations: 104.9 kB / 1.226 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001808/0.6099, allocations: 184.5 kB / 1.226 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6099, allocations: 0 / 1.226 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002655/0.6102, allocations: 20 kB / 1.226 GB, free: 5.75 MB / 0.9825 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.0001614/0.6104, allocations: 174.5 kB / 1.226 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.33e-05/0.6105, allocations: 23.92 kB / 1.226 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6105, allocations: 0 / 1.226 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.6105, allocations: 0 / 1.226 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006939/0.6112, allocations: 0.5816 MB / 1.227 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.6118, allocations: 341.2 kB / 1.227 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.6122, allocations: 0.7244 MB / 1.228 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.633e-05/0.6123, allocations: 17.55 kB / 1.228 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.6123, allocations: 15.44 kB / 1.228 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.6123, allocations: 0 / 1.228 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of Templates: time 0.004888/0.6172, allocations: 1.857 MB / 1.229 GB, free: 1.977 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches