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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_10_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.0007734/0.0007734, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.004768/0.004768, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.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.494/2.494, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 12 kB / 0.8729 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6016/0.6019, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1495/0.7515, allocations: 161.8 MB / 1.181 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005356/0.7569, allocations: 5.608 MB / 1.187 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.7571, allocations: 19.88 kB / 1.187 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.7574, allocations: 71.52 kB / 1.187 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.7576, allocations: 55.67 kB / 1.187 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.7578, allocations: 27.97 kB / 1.187 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000307/0.7581, allocations: 259 kB / 1.187 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.7583, allocations: 91.16 kB / 1.187 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.7585, allocations: 83.64 kB / 1.187 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.7586, allocations: 59.66 kB / 1.187 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.7586, allocations: 3.938 kB / 1.187 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.662e-05/0.7587, allocations: 4 kB / 1.187 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.7587, allocations: 15.92 kB / 1.187 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.7588, allocations: 85.31 kB / 1.187 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.7589, allocations: 147.4 kB / 1.187 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.759, allocations: 0 / 1.187 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.834e-06/0.759, allocations: 0 / 1.187 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.759, allocations: 4 kB / 1.187 GB, free: 6.949 MB / 0.9356 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.0004886/0.7595, allocations: 410.8 kB / 1.188 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.7595, allocations: 8.031 kB / 1.188 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.25e-05/0.7596, allocations: 46.55 kB / 1.188 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.7596, allocations: 19.81 kB / 1.188 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.7599, allocations: 242.4 kB / 1.188 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.7599, allocations: 12 kB / 1.188 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.7599, allocations: 12 kB / 1.188 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.7602, allocations: 169.6 kB / 1.188 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.7602, allocations: 0 / 1.188 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.7602, allocations: 8 kB / 1.188 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.7602, allocations: 4 kB / 1.188 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.7603, allocations: 71.78 kB / 1.188 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008015/0.7611, allocations: 1.156 MB / 1.19 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.113e-05/0.7612, allocations: 165.1 kB / 1.19 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.7613, allocations: 96 kB / 1.19 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.7613, allocations: 75.28 kB / 1.19 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.7613, allocations: 109.8 kB / 1.19 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.7613, allocations: 0 / 1.19 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.009e-05/0.7614, allocations: 45.52 kB / 1.19 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.7615, allocations: 178.1 kB / 1.19 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.7617, allocations: 249 kB / 1.19 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.7618, allocations: 25.7 kB / 1.19 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.227e-05/0.7619, allocations: 135.9 kB / 1.191 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.7619, allocations: 0 / 1.191 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.7619, allocations: 13.72 kB / 1.191 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.762, allocations: 334.8 kB / 1.191 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.762, allocations: 15.88 kB / 1.191 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.344e-05/0.7621, allocations: 67.75 kB / 1.191 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.521e-05/0.7621, allocations: 52.22 kB / 1.191 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7622, allocations: 0 / 1.191 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001487/0.7623, allocations: 89.31 kB / 1.191 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.7623, allocations: 4.156 kB / 1.191 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7623, allocations: 8.125 kB / 1.191 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.7624, allocations: 0 / 1.191 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.004e-05/0.7624, allocations: 15.98 kB / 1.191 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.7624, allocations: 0 / 1.191 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.187e-05/0.7625, allocations: 19.75 kB / 1.191 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.7625, allocations: 4 kB / 1.191 GB, free: 2.801 MB / 0.9356 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.0001092/0.7626, allocations: 209.6 kB / 1.191 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.7627, allocations: 120.7 kB / 1.191 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.7628, allocations: 125.8 kB / 1.192 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-05/0.7628, allocations: 180.2 kB / 1.192 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.077e-05/0.7629, allocations: 176.3 kB / 1.192 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.764e-05/0.7629, allocations: 180.3 kB / 1.192 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.7632, allocations: 457 kB / 1.193 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.132e-05/0.7632, allocations: 109 kB / 1.193 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.7633, allocations: 108.9 kB / 1.193 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-05/0.7633, allocations: 180.2 kB / 1.193 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.095e-05/0.7634, allocations: 184.2 kB / 1.193 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-05/0.7634, allocations: 180.3 kB / 1.193 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.641e-05/0.7635, allocations: 176.3 kB / 1.193 GB, free: 332 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.7636, allocations: 323.5 kB / 1.194 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/0.7637, allocations: 205.8 kB / 1.194 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.7638, allocations: 180.3 kB / 1.194 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.7639, allocations: 105 kB / 1.194 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.764, allocations: 188.2 kB / 1.194 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.764, allocations: 101 kB / 1.195 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001573/0.7641, allocations: 180.5 kB / 1.195 GB, free: 15 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7642, allocations: 4 kB / 1.195 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002417/0.7644, allocations: 16 kB / 1.195 GB, free: 14.98 MB / 0.9512 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.000327/0.7647, allocations: 0.828 MB / 1.196 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.851e-05/0.7648, allocations: 23.92 kB / 1.196 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.7648, allocations: 4 kB / 1.196 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.7649, allocations: 0 / 1.196 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006017/0.7655, allocations: 0.5797 MB / 1.196 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.7672, allocations: 2.059 MB / 1.198 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.7675, allocations: 0.7205 MB / 1.199 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.296e-05/0.7676, allocations: 21.48 kB / 1.199 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.7676, allocations: 39.42 kB / 1.199 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.7676, allocations: 0 / 1.199 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.206/1.974, allocations: 3.556 MB / 1.202 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002896/1.974, allocations: 196.5 kB / 1.203 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/3.601, allocations: 0 / 1.203 GB, free: 6.859 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > 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