Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001297/0.001297, allocations: 109.9 kB / 16.37 MB, free: 6.012 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.001269/0.00127, allocations: 194.6 kB / 17.31 MB, free: 5.613 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.491/2.491, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 60.66 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3517, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.9197/1.271, allocations: 166.1 MB / 1.181 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006416/1.278, allocations: 5.719 MB / 1.187 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/1.278, allocations: 4.281 kB / 1.187 GB, free: 3.926 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Fluid/FMI/FlowSplitter_u.mo:47:3-49:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/Fluid/FMI/FlowSplitter_u.mo:50:3-51:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006408/1.279, allocations: 90.59 kB / 1.187 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002638/1.279, allocations: 60.98 kB / 1.187 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/1.279, allocations: 37.36 kB / 1.187 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004194/1.28, allocations: 212.6 kB / 1.187 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/1.28, allocations: 89.28 kB / 1.187 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/1.28, allocations: 100.2 kB / 1.187 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/1.28, allocations: 72.33 kB / 1.187 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/1.281, allocations: 11 kB / 1.187 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.543e-05/1.281, allocations: 9.625 kB / 1.187 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/1.281, allocations: 30.73 kB / 1.187 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.252e-05/1.281, allocations: 68.42 kB / 1.187 GB, free: 3.43 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/1.281, allocations: 163.2 kB / 1.187 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.281, allocations: 5.375 kB / 1.187 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.553e-06/1.281, allocations: 0 / 1.187 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.047e-05/1.281, allocations: 0 / 1.187 GB, free: 3.312 MB / 0.8887 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.0006388/1.282, allocations: 441 kB / 1.188 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.282, allocations: 10.52 kB / 1.188 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/1.282, allocations: 17.03 kB / 1.188 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/1.282, allocations: 254.5 kB / 1.188 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/1.282, allocations: 16.55 kB / 1.188 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/1.282, allocations: 13.38 kB / 1.188 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/1.282, allocations: 178.7 kB / 1.188 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.282, allocations: 0 / 1.188 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/1.283, allocations: 6.5 kB / 1.188 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/1.283, allocations: 2.594 kB / 1.188 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/1.283, allocations: 66.69 kB / 1.188 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009873/1.284, allocations: 1.151 MB / 1.19 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/1.284, allocations: 181 kB / 1.19 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/1.284, allocations: 81.86 kB / 1.19 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/1.284, allocations: 75.28 kB / 1.19 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/1.284, allocations: 113.8 kB / 1.19 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/1.284, allocations: 1.406 kB / 1.19 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 9.815e-05/1.284, allocations: 45.8 kB / 1.19 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/1.284, allocations: 182.1 kB / 1.19 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/1.285, allocations: 254.3 kB / 1.19 GB, free: 376 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.285, allocations: 26.89 kB / 1.19 GB, free: 344 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/1.285, allocations: 128.9 kB / 1.191 GB, free: 220 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/1.285, allocations: 0.9688 kB / 1.191 GB, free: 220 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/1.285, allocations: 28.39 kB / 1.191 GB, free: 192 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.285, allocations: 326.6 kB / 1.191 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/1.285, allocations: 8.844 kB / 1.191 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.206e-05/1.285, allocations: 67.72 kB / 1.191 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.416e-05/1.285, allocations: 55.66 kB / 1.191 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/1.285, allocations: 0 / 1.191 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001725/1.285, allocations: 87.44 kB / 1.191 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.285, allocations: 5.625 kB / 1.191 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.285, allocations: 1.344 kB / 1.191 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.285, allocations: 1.469 kB / 1.191 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/1.285, allocations: 11.17 kB / 1.191 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/1.285, allocations: 6.469 kB / 1.191 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.615e-05/1.286, allocations: 12.84 kB / 1.191 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/1.286, allocations: 2.719 kB / 1.191 GB, free: 15.64 MB / 0.9044 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.0001524/1.286, allocations: 207.8 kB / 1.191 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.033e-05/1.286, allocations: 121.8 kB / 1.192 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.267e-05/1.286, allocations: 119.6 kB / 1.192 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.413e-05/1.286, allocations: 185.2 kB / 1.192 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.775e-05/1.286, allocations: 185.8 kB / 1.192 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.896e-05/1.286, allocations: 185.8 kB / 1.192 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/1.286, allocations: 452.4 kB / 1.193 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.192e-05/1.286, allocations: 103 kB / 1.193 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/1.286, allocations: 108.9 kB / 1.193 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.385e-05/1.287, allocations: 185.8 kB / 1.193 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-05/1.287, allocations: 181.2 kB / 1.193 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.1e-05/1.287, allocations: 184.1 kB / 1.193 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.021e-05/1.287, allocations: 180.2 kB / 1.193 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/1.287, allocations: 318.7 kB / 1.194 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/1.287, allocations: 202.2 kB / 1.194 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.904e-05/1.287, allocations: 178.8 kB / 1.194 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/1.287, allocations: 110.2 kB / 1.194 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/1.287, allocations: 181.7 kB / 1.194 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/1.287, allocations: 101 kB / 1.195 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001854/1.288, allocations: 186.6 kB / 1.195 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.41e-07/1.288, allocations: 0 / 1.195 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002704/1.288, allocations: 28.16 kB / 1.195 GB, free: 11.95 MB / 0.9044 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.0001492/1.288, allocations: 175.1 kB / 1.195 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.463e-05/1.288, allocations: 19.02 kB / 1.195 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/1.288, allocations: 1.406 kB / 1.195 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/1.288, allocations: 4.25 kB / 1.195 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/1.289, allocations: 0.498 MB / 1.195 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/1.289, allocations: 327.4 kB / 1.196 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/1.29, allocations: 0.7151 MB / 1.196 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.188e-05/1.29, allocations: 25.92 kB / 1.196 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/1.29, allocations: 15.22 kB / 1.196 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of SimCode: time 3.61e-07/1.29, allocations: 0 / 1.196 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of Templates: time 0.005029/1.295, allocations: 1.946 MB / 1.198 GB, free: 9.34 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches