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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_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.001204/0.001205, allocations: 108 kB / 15.61 MB, free: 152 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.001202/0.001202, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.208/1.208, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.421/2.421, allocations: 461.9 MB / 0.7346 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 61.89 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2671, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.185/0.4521, allocations: 166.1 MB / 1.215 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00482/0.457, allocations: 5.704 MB / 1.221 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.4572, allocations: 7.938 kB / 1.221 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.4575, allocations: 91.31 kB / 1.221 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.4578, allocations: 55.62 kB / 1.221 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.4579, allocations: 39.94 kB / 1.221 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.4582, allocations: 215.1 kB / 1.221 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.4584, allocations: 90.62 kB / 1.221 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.4586, allocations: 107.6 kB / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.4588, allocations: 67.64 kB / 1.221 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.4588, allocations: 12 kB / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.398e-05/0.4589, allocations: 8 kB / 1.221 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.4589, allocations: 31.91 kB / 1.221 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.564e-05/0.459, allocations: 71.61 kB / 1.221 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.4592, allocations: 151.5 kB / 1.222 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4592, allocations: 4 kB / 1.222 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4592, allocations: 0 / 1.222 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.4592, allocations: 0 / 1.222 GB, free: 10.91 MB / 0.9825 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.0005585/0.4598, allocations: 442.7 kB / 1.222 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4598, allocations: 12.62 kB / 1.222 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.4599, allocations: 50.42 kB / 1.222 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.4599, allocations: 19.75 kB / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.4601, allocations: 238.7 kB / 1.222 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4602, allocations: 8 kB / 1.222 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.4602, allocations: 16 kB / 1.222 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.4604, allocations: 169.1 kB / 1.222 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4604, allocations: 0 / 1.222 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.4604, allocations: 7.938 kB / 1.223 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.4605, allocations: 8 kB / 1.223 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.4606, allocations: 63.91 kB / 1.223 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007346/0.4613, allocations: 1.152 MB / 1.224 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.994e-05/0.4614, allocations: 173.1 kB / 1.224 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.83e-05/0.4614, allocations: 84.08 kB / 1.224 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.4614, allocations: 75.28 kB / 1.224 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.4615, allocations: 113.8 kB / 1.224 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.4615, allocations: 0 / 1.224 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.388e-05/0.4616, allocations: 41.52 kB / 1.224 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.4616, allocations: 182 kB / 1.224 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.4619, allocations: 253 kB / 1.225 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.4619, allocations: 25.7 kB / 1.225 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.462, allocations: 131.8 kB / 1.225 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.462, allocations: 0 / 1.225 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.462, allocations: 25.7 kB / 1.225 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.4621, allocations: 326.8 kB / 1.225 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.4622, allocations: 4 kB / 1.225 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/0.4622, allocations: 71.72 kB / 1.225 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.515e-05/0.4623, allocations: 52.25 kB / 1.225 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4623, allocations: 0 / 1.225 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001454/0.4624, allocations: 101.3 kB / 1.225 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.4625, allocations: 5.406 kB / 1.225 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4625, allocations: 0 / 1.225 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4625, allocations: 4 kB / 1.225 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.911e-05/0.4625, allocations: 12.11 kB / 1.225 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.4626, allocations: 0 / 1.225 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.5e-05/0.4626, allocations: 19.78 kB / 1.225 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-06/0.4626, allocations: 7.938 kB / 1.225 GB, free: 6.734 MB / 0.9825 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.0001322/0.4628, allocations: 213.2 kB / 1.226 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.4629, allocations: 120.7 kB / 1.226 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/0.4629, allocations: 121.8 kB / 1.226 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.329e-05/0.463, allocations: 180.3 kB / 1.226 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.073e-05/0.463, allocations: 176.3 kB / 1.226 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.158e-05/0.4631, allocations: 188.1 kB / 1.226 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.4633, allocations: 457.1 kB / 1.227 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.299e-05/0.4634, allocations: 105 kB / 1.227 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.053e-05/0.4634, allocations: 109 kB / 1.227 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.912e-05/0.4635, allocations: 180.2 kB / 1.227 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.4635, allocations: 180.2 kB / 1.227 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.078e-05/0.4636, allocations: 180.3 kB / 1.227 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.847e-05/0.4636, allocations: 188.2 kB / 1.228 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.4638, allocations: 315.6 kB / 1.228 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.581e-05/0.4638, allocations: 201.8 kB / 1.228 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.166e-05/0.4639, allocations: 184.2 kB / 1.228 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.435e-05/0.464, allocations: 108.9 kB / 1.228 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.4641, allocations: 180.3 kB / 1.229 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.4641, allocations: 101 kB / 1.229 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001474/0.4643, allocations: 184.5 kB / 1.229 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.372e-06/0.4643, allocations: 0 / 1.229 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002351/0.4645, allocations: 23.94 kB / 1.229 GB, free: 2.898 MB / 0.9825 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.0003107/0.4648, allocations: 0.8203 MB / 1.23 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.463e-05/0.4649, allocations: 23.92 kB / 1.23 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4649, allocations: 0 / 1.23 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.4649, allocations: 0 / 1.23 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.4655, allocations: 0.5159 MB / 1.23 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.4671, allocations: 2.037 MB / 1.232 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.4674, allocations: 0.7163 MB / 1.233 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.985e-05/0.4674, allocations: 29.47 kB / 1.233 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.4675, allocations: 39.42 kB / 1.233 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.4675, allocations: 4 kB / 1.233 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3993/0.8668, allocations: 3.81 MB / 1.237 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.44, allocations: 13.8 kB / 1.237 GB, free: 10.8 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > 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