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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001453/0.001453, allocations: 101.7 kB / 16.35 MB, free: 5.887 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.00166/0.00166, allocations: 188.6 kB / 17.29 MB, free: 5.527 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.404/1.404, 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 11.0.0-master/package.mo): time 2.595/2.595, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 68.08 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3837, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 1.023/1.407, allocations: 166.1 MB / 1.189 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006156/1.413, allocations: 5.698 MB / 1.194 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/1.413, allocations: 9.562 kB / 1.194 GB, free: 9.961 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 11.0.0-master/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 11.0.0-master/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.0005099/1.414, allocations: 107.4 kB / 1.195 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000222/1.414, allocations: 48.16 kB / 1.195 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/1.414, allocations: 37.45 kB / 1.195 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003312/1.414, allocations: 213.7 kB / 1.195 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/1.415, allocations: 88.31 kB / 1.195 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/1.415, allocations: 100.6 kB / 1.195 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/1.415, allocations: 80.78 kB / 1.195 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/1.415, allocations: 10.69 kB / 1.195 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 2.479e-05/1.415, allocations: 13.66 kB / 1.195 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/1.415, allocations: 22.61 kB / 1.195 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.695e-05/1.415, allocations: 76.61 kB / 1.195 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/1.416, allocations: 160 kB / 1.195 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.416, allocations: 4 kB / 1.195 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.974e-06/1.416, allocations: 0 / 1.195 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.067e-05/1.416, allocations: 0 / 1.195 GB, free: 9.336 MB / 0.9044 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.0006072/1.416, allocations: 437.4 kB / 1.196 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/1.416, allocations: 9.062 kB / 1.196 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/1.416, allocations: 21.06 kB / 1.196 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/1.417, allocations: 259.8 kB / 1.196 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/1.417, allocations: 13.61 kB / 1.196 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/1.417, allocations: 10.03 kB / 1.196 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/1.417, allocations: 168.8 kB / 1.196 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.417, allocations: 0 / 1.196 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/1.417, allocations: 5.859 kB / 1.196 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.417, allocations: 3.844 kB / 1.196 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/1.417, allocations: 70.12 kB / 1.196 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009228/1.418, allocations: 1.153 MB / 1.197 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.138e-05/1.418, allocations: 170.5 kB / 1.198 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/1.418, allocations: 80.14 kB / 1.198 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/1.418, allocations: 76.5 kB / 1.198 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.101e-05/1.418, allocations: 115 kB / 1.198 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/1.418, allocations: 0 / 1.198 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 9.136e-05/1.418, allocations: 46.05 kB / 1.198 GB, free: 6.781 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.955e-05/1.419, allocations: 187.4 kB / 1.198 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/1.419, allocations: 245.5 kB / 1.198 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/1.419, allocations: 27.02 kB / 1.198 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/1.419, allocations: 141.5 kB / 1.199 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/1.419, allocations: 0 / 1.199 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/1.419, allocations: 24.03 kB / 1.199 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.419, allocations: 327.3 kB / 1.199 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.631e-05/1.419, allocations: 12.86 kB / 1.199 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.418e-05/1.419, allocations: 68.84 kB / 1.199 GB, free: 5.801 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.119e-05/1.419, allocations: 51.39 kB / 1.199 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.419, allocations: 1.344 kB / 1.199 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001682/1.419, allocations: 88.14 kB / 1.199 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.419, allocations: 5.781 kB / 1.199 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.419, allocations: 0 / 1.199 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/1.42, allocations: 2.344 kB / 1.199 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/1.42, allocations: 15.41 kB / 1.199 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/1.42, allocations: 6.594 kB / 1.199 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.693e-05/1.42, allocations: 13.59 kB / 1.199 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/1.42, allocations: 5.969 kB / 1.199 GB, free: 5.66 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.0001264/1.42, allocations: 208 kB / 1.199 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.92e-05/1.42, allocations: 120.4 kB / 1.199 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.671e-05/1.42, allocations: 124.8 kB / 1.2 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.021e-05/1.42, allocations: 181.7 kB / 1.2 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.23e-05/1.42, allocations: 180.2 kB / 1.2 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.057e-05/1.42, allocations: 185.9 kB / 1.2 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/1.42, allocations: 452.3 kB / 1.201 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.258e-05/1.421, allocations: 102 kB / 1.201 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/1.421, allocations: 119.1 kB / 1.201 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.517e-05/1.421, allocations: 181.3 kB / 1.201 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.586e-05/1.421, allocations: 178 kB / 1.201 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.565e-05/1.421, allocations: 180.2 kB / 1.201 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.156e-05/1.421, allocations: 177.8 kB / 1.201 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/1.421, allocations: 325.7 kB / 1.202 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.813e-05/1.421, allocations: 207.1 kB / 1.202 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.852e-05/1.421, allocations: 181.7 kB / 1.202 GB, free: 2.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/1.421, allocations: 102.2 kB / 1.202 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/1.421, allocations: 177.4 kB / 1.202 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/1.421, allocations: 111.3 kB / 1.202 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001752/1.422, allocations: 186.1 kB / 1.203 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.422, allocations: 1.656 kB / 1.203 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002446/1.422, allocations: 18.59 kB / 1.203 GB, free: 1.969 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.0001394/1.422, allocations: 170.3 kB / 1.203 GB, free: 1.809 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001005/1.422, allocations: 25.08 kB / 1.203 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.422, allocations: 320 / 1.203 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/1.422, allocations: 4 kB / 1.203 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/1.423, allocations: 0.5087 MB / 1.203 GB, free: 1.312 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/1.423, allocations: 325 kB / 1.204 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/1.424, allocations: 0.7222 MB / 1.204 GB, free: 324 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.676e-05/1.424, allocations: 21.92 kB / 1.204 GB, free: 316 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/1.424, allocations: 14.31 kB / 1.204 GB, free: 308 kB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/1.424, allocations: 1.375 kB / 1.204 GB, free: 308 kB / 0.9044 GB Notification: Performance of Templates: time 0.004911/1.429, allocations: 1.938 MB / 1.206 GB, free: 15.35 MB / 0.92 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 -s gbode -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/jenkins1/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