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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001503/0.001503, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.49/2.49, allocations: 437.1 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5478/0.5492, allocations: 151.6 MB / 1.017 GB, free: 2.633 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1545/0.7038, allocations: 166.1 MB / 1.18 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004987/0.7088, allocations: 5.704 MB / 1.185 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.7091, allocations: 8 kB / 1.185 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.7094, allocations: 95.31 kB / 1.185 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.7096, allocations: 55.61 kB / 1.185 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.7098, allocations: 35.89 kB / 1.185 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.71, allocations: 215.1 kB / 1.186 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.7102, allocations: 98.53 kB / 1.186 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.7104, allocations: 99.62 kB / 1.186 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.7105, allocations: 71.64 kB / 1.186 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.7106, allocations: 8 kB / 1.186 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.46e-05/0.7106, allocations: 12 kB / 1.186 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.7106, allocations: 23.92 kB / 1.186 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.187e-05/0.7107, allocations: 79.59 kB / 1.186 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.7109, allocations: 147.5 kB / 1.186 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.7109, allocations: 0 / 1.186 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7109, allocations: 7.938 kB / 1.186 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.7109, allocations: 7.938 kB / 1.186 GB, free: 5.211 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.0005035/0.7114, allocations: 442.8 kB / 1.187 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.7115, allocations: 8.031 kB / 1.187 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.7115, allocations: 46.55 kB / 1.187 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.7116, allocations: 19.81 kB / 1.187 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.7118, allocations: 242.4 kB / 1.187 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.7118, allocations: 15.94 kB / 1.187 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.7118, allocations: 15.94 kB / 1.187 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.7121, allocations: 166.6 kB / 1.187 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.7121, allocations: 3.938 kB / 1.187 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.7121, allocations: 8 kB / 1.187 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.7121, allocations: 4 kB / 1.187 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.7122, allocations: 67.91 kB / 1.187 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007256/0.7129, allocations: 1.156 MB / 1.188 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.214e-05/0.713, allocations: 165.1 kB / 1.188 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.642e-05/0.7131, allocations: 88.08 kB / 1.188 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.7131, allocations: 75.28 kB / 1.189 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.7131, allocations: 113.8 kB / 1.189 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.7131, allocations: 0 / 1.189 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.492e-05/0.7132, allocations: 45.45 kB / 1.189 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.7133, allocations: 178.1 kB / 1.189 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.7135, allocations: 249 kB / 1.189 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.7135, allocations: 29.7 kB / 1.189 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.7136, allocations: 131.9 kB / 1.189 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.7136, allocations: 0 / 1.189 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.7137, allocations: 29.62 kB / 1.189 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.7138, allocations: 326.8 kB / 1.19 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.7138, allocations: 11.98 kB / 1.19 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.736e-05/0.7138, allocations: 63.72 kB / 1.19 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.003e-05/0.7139, allocations: 52.23 kB / 1.19 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7139, allocations: 0 / 1.19 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001402/0.714, allocations: 93.42 kB / 1.19 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.7141, allocations: 8 kB / 1.19 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.7141, allocations: 0 / 1.19 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.7141, allocations: 0 / 1.19 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.542e-05/0.7141, allocations: 8 kB / 1.19 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.7141, allocations: 7.938 kB / 1.19 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.146e-05/0.7142, allocations: 11.84 kB / 1.19 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.7142, allocations: 4 kB / 1.19 GB, free: 1.039 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 9.918e-05/0.7143, allocations: 201.1 kB / 1.19 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.7144, allocations: 124.8 kB / 1.19 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.7145, allocations: 129.7 kB / 1.19 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.672e-05/0.7145, allocations: 180.3 kB / 1.19 GB, free: 400 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.731e-05/0.7146, allocations: 192.2 kB / 1.191 GB, free: 200 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.376e-05/0.7146, allocations: 180.3 kB / 1.191 GB, free: 12 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.7149, allocations: 457.1 kB / 1.191 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.129e-05/0.7149, allocations: 108.9 kB / 1.191 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.7149, allocations: 101 kB / 1.191 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.697e-05/0.715, allocations: 180.2 kB / 1.192 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.715, allocations: 180.3 kB / 1.192 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.472e-05/0.7151, allocations: 180.3 kB / 1.192 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-05/0.7151, allocations: 184.4 kB / 1.192 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.7152, allocations: 331.5 kB / 1.192 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.7153, allocations: 193.9 kB / 1.193 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.7154, allocations: 176.3 kB / 1.193 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.946e-05/0.7155, allocations: 112.9 kB / 1.193 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.7156, allocations: 180.3 kB / 1.193 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.7156, allocations: 104.9 kB / 1.193 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000148/0.7157, allocations: 184.5 kB / 1.193 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.7158, allocations: 0 / 1.193 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002312/0.716, allocations: 24 kB / 1.193 GB, free: 13.2 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.0003118/0.7163, allocations: 0.8242 MB / 1.194 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.825e-05/0.7164, allocations: 19.94 kB / 1.194 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7164, allocations: 0 / 1.194 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.7164, allocations: 0 / 1.194 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.7169, allocations: 0.5095 MB / 1.195 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.7186, allocations: 2.043 MB / 1.197 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.7188, allocations: 0.7163 MB / 1.197 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.707e-05/0.7189, allocations: 21.53 kB / 1.197 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.7189, allocations: 43.42 kB / 1.197 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.7189, allocations: 0 / 1.197 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.065/2.784, allocations: 3.825 MB / 1.201 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.971/11.76, allocations: 9.656 kB / 1.201 GB, free: 5.105 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