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.001182/0.001182, 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.001171/0.001171, allocations: 198.1 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.249/1.249, allocations: 222.9 MB / 239.8 MB, free: 4.664 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.305/2.305, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.91 kB / 0.8686 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4869/0.488, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1355/0.6236, allocations: 163.9 MB / 1.177 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005179/0.6289, allocations: 5.701 MB / 1.182 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.6291, allocations: 4 kB / 1.182 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.6295, allocations: 75.5 kB / 1.182 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.6297, allocations: 55.61 kB / 1.182 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.6298, allocations: 31.98 kB / 1.182 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.6301, allocations: 259 kB / 1.183 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.6303, allocations: 95.14 kB / 1.183 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.6305, allocations: 91.64 kB / 1.183 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.6306, allocations: 75.62 kB / 1.183 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.6306, allocations: 4 kB / 1.183 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.439e-05/0.6307, allocations: 8 kB / 1.183 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.6307, allocations: 27.92 kB / 1.183 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.722e-05/0.6308, allocations: 63.62 kB / 1.183 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.631, allocations: 155.5 kB / 1.183 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.631, allocations: 3.938 kB / 1.183 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.01e-07/0.631, allocations: 0 / 1.183 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.631, allocations: 0 / 1.183 GB, free: 7.637 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.0005155/0.6315, allocations: 442.6 kB / 1.184 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.6315, allocations: 12.03 kB / 1.184 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.492e-05/0.6316, allocations: 46.55 kB / 1.184 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.6316, allocations: 19.81 kB / 1.184 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.6319, allocations: 238.5 kB / 1.184 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.6319, allocations: 11.94 kB / 1.184 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.6319, allocations: 15.94 kB / 1.184 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.6321, allocations: 169.6 kB / 1.184 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.6321, allocations: 4 kB / 1.184 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.6322, allocations: 4 kB / 1.184 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.6322, allocations: 4 kB / 1.184 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.6323, allocations: 67.84 kB / 1.184 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007145/0.633, allocations: 1.148 MB / 1.185 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.168e-05/0.6331, allocations: 169.1 kB / 1.186 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.6331, allocations: 88.08 kB / 1.186 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.6331, allocations: 79.28 kB / 1.186 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.6332, allocations: 109.8 kB / 1.186 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.6332, allocations: 0 / 1.186 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.165e-05/0.6333, allocations: 45.45 kB / 1.186 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.6333, allocations: 178.1 kB / 1.186 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.6335, allocations: 257 kB / 1.186 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.6336, allocations: 25.7 kB / 1.186 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.6336, allocations: 131.8 kB / 1.186 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.6336, allocations: 0 / 1.186 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.6337, allocations: 25.7 kB / 1.186 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.6338, allocations: 326.8 kB / 1.187 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.6338, allocations: 8 kB / 1.187 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.782e-05/0.6339, allocations: 67.72 kB / 1.187 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.245e-05/0.6339, allocations: 56.22 kB / 1.187 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6339, allocations: 0 / 1.187 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001304/0.6341, allocations: 89.31 kB / 1.187 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.6341, allocations: 6.344 kB / 1.187 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.6341, allocations: 0 / 1.187 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.6341, allocations: 7.938 kB / 1.187 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.336e-05/0.6342, allocations: 11.92 kB / 1.187 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.6342, allocations: 4 kB / 1.187 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.404e-05/0.6342, allocations: 16.12 kB / 1.187 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.6343, allocations: 8 kB / 1.187 GB, free: 3.461 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.867e-05/0.6344, allocations: 205.6 kB / 1.187 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.6344, allocations: 120.7 kB / 1.187 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.6345, allocations: 125.8 kB / 1.187 GB, free: 3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-05/0.6345, allocations: 180.3 kB / 1.188 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.605e-05/0.6346, allocations: 188.2 kB / 1.188 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.24e-05/0.6346, allocations: 176.3 kB / 1.188 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.6348, allocations: 453.1 kB / 1.188 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.762e-05/0.6349, allocations: 104.9 kB / 1.188 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.301e-05/0.6349, allocations: 101 kB / 1.189 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.684e-05/0.6349, allocations: 192.1 kB / 1.189 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/0.635, allocations: 180.3 kB / 1.189 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.941e-05/0.635, allocations: 176.3 kB / 1.189 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.524e-05/0.6351, allocations: 188.2 kB / 1.189 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.6352, allocations: 323.5 kB / 1.19 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.6353, allocations: 201.9 kB / 1.19 GB, free: 428 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.08e-05/0.6353, allocations: 180.3 kB / 1.19 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-05/0.6354, allocations: 108.9 kB / 1.19 GB, free: 124 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.6355, allocations: 180.3 kB / 1.19 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.6355, allocations: 112.9 kB / 1.19 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00014/0.6357, allocations: 180.5 kB / 1.191 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6357, allocations: 4 kB / 1.191 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002233/0.6359, allocations: 24 kB / 1.191 GB, free: 15.62 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.0002796/0.6362, allocations: 0.8151 MB / 1.191 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.071e-05/0.6363, allocations: 24.17 kB / 1.191 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6363, allocations: 4.062 kB / 1.191 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.6363, allocations: 0 / 1.191 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.6368, allocations: 0.5774 MB / 1.192 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.6384, allocations: 2.066 MB / 1.194 GB, free: 12 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.6386, allocations: 0.7127 MB / 1.195 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.024e-05/0.6387, allocations: 21.55 kB / 1.195 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.6388, allocations: 43.42 kB / 1.195 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/0.6388, allocations: 0 / 1.195 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.944/2.583, allocations: 3.633 MB / 1.198 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003378/2.583, allocations: 192.7 kB / 1.198 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/4.178, allocations: 0 / 1.198 GB, free: 7.41 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