Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MassFraction",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.0009388/0.0009387, allocations: 98.27 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.006201/0.006201, allocations: 169 kB / 16.26 MB, free: 6.66 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.667/2.667, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003823, allocations: 11.25 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3385, allocations: 159.6 MB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2111/0.5497, allocations: 182.1 MB / 1.237 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009695/0.5594, allocations: 4.58 MB / 1.241 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/0.5611, allocations: 23.81 kB / 1.241 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.5624, allocations: 342.1 kB / 1.241 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004074/0.5665, allocations: 1.275 MB / 1.243 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.5686, allocations: 0.6679 MB / 1.243 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00339/0.572, allocations: 2.752 MB / 1.246 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.573, allocations: 0.5502 MB / 1.247 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003738/0.5768, allocations: 0.9461 MB / 1.248 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.5782, allocations: 0.5914 MB / 1.248 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.5783, allocations: 28 kB / 1.248 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.5814, allocations: 1.551 MB / 1.25 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005037/0.5819, allocations: 251.2 kB / 1.25 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008343/0.5828, allocations: 391.9 kB / 1.25 GB, free: 152 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6165/1.199, allocations: 1.479 MB / 1.252 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.199, allocations: 0 / 1.252 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.035e-06/1.199, allocations: 0.7812 kB / 1.252 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.667e-05/1.199, allocations: 0 / 1.252 GB, free: 6.027 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00341/1.203, allocations: 0.9515 MB / 1.253 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 8.55e-05/1.203, allocations: 10.28 kB / 1.253 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005426/1.203, allocations: 93.92 kB / 1.253 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/1.205, allocations: 205.5 kB / 1.253 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/1.207, allocations: 0.581 MB / 1.253 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.253e-05/1.207, allocations: 41.97 kB / 1.254 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/1.207, allocations: 56.75 kB / 1.254 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/1.209, allocations: 0.6287 MB / 1.254 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/1.209, allocations: 2.906 kB / 1.254 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.342e-05/1.209, allocations: 19.69 kB / 1.254 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.995e-05/1.209, allocations: 22.03 kB / 1.254 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/1.21, allocations: 0.4901 MB / 1.255 GB, free: 5.031 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004184/1.214, allocations: 2.397 MB / 1.257 GB, free: 19.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008133/1.215, allocations: 352.2 kB / 1.257 GB, free: 19.72 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/1.215, allocations: 207.1 kB / 1.258 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007796/1.216, allocations: 322.4 kB / 1.258 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/1.216, allocations: 39.66 kB / 1.258 GB, free: 19.39 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 2.275e-06/1.216, allocations: 2.688 kB / 1.258 GB, free: 19.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=36): time 0.001269/1.218, allocations: 0.5435 MB / 1.258 GB, free: 19.33 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/1.218, allocations: 58.38 kB / 1.259 GB, free: 19.26 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006851/1.218, allocations: 0.5005 MB / 1.259 GB, free: 19.14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/1.218, allocations: 31.92 kB / 1.259 GB, free: 19.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/1.219, allocations: 321.4 kB / 1.259 GB, free: 18.96 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/1.219, allocations: 134.8 kB / 1.259 GB, free: 18.87 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/1.219, allocations: 41.75 kB / 1.26 GB, free: 18.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001876/1.219, allocations: 361.2 kB / 1.26 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/1.219, allocations: 147.3 kB / 1.26 GB, free: 18.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/1.22, allocations: 263.6 kB / 1.26 GB, free: 18.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/1.22, allocations: 406.7 kB / 1.261 GB, free: 18.35 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.22, allocations: 2.938 kB / 1.261 GB, free: 18.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006862/1.221, allocations: 490.7 kB / 1.261 GB, free: 18.27 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.915e-05/1.221, allocations: 162.6 kB / 1.261 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.221, allocations: 3.5 kB / 1.261 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/1.221, allocations: 5.719 kB / 1.261 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005524/1.221, allocations: 101.7 kB / 1.261 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004041/1.222, allocations: 0.5987 MB / 1.262 GB, free: 17.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006813/1.223, allocations: 74.09 kB / 1.262 GB, free: 17.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/1.223, allocations: 18.41 kB / 1.262 GB, free: 17.49 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-06/1.223, allocations: 5.156 kB / 1.262 GB, free: 17.49 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005668/1.223, allocations: 402.7 kB / 1.262 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/1.223, allocations: 2.719 kB / 1.262 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.72e-06/1.223, allocations: 14 kB / 1.262 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/1.224, allocations: 85.95 kB / 1.263 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.224, allocations: 3.375 kB / 1.263 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005247/1.224, allocations: 74.52 kB / 1.263 GB, free: 17.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/1.224, allocations: 19.81 kB / 1.263 GB, free: 17.45 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003684/1.225, allocations: 303.5 kB / 1.263 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.832e-05/1.225, allocations: 65.92 kB / 1.263 GB, free: 17.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000736/1.225, allocations: 455.6 kB / 1.263 GB, free: 17.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/1.225, allocations: 3.219 kB / 1.263 GB, free: 17.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.225, allocations: 0 / 1.263 GB, free: 17.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006173/1.226, allocations: 0.6542 MB / 1.264 GB, free: 16.72 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/1.228, allocations: 1.208 MB / 1.265 GB, free: 16.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.228, allocations: 0.9375 kB / 1.265 GB, free: 16.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/1.228, allocations: 92.17 kB / 1.265 GB, free: 16.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/1.228, allocations: 5.656 kB / 1.265 GB, free: 16.35 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/1.228, allocations: 8.672 kB / 1.265 GB, free: 16.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003032/1.229, allocations: 0.6016 MB / 1.266 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.229, allocations: 2.906 kB / 1.266 GB, free: 15.75 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007701/1.229, allocations: 0.7063 MB / 1.267 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/1.23, allocations: 184.1 kB / 1.267 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/1.23, allocations: 17.8 kB / 1.267 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/1.23, allocations: 38.53 kB / 1.267 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/1.23, allocations: 24.77 kB / 1.267 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/1.23, allocations: 16.72 kB / 1.267 GB, free: 15.38 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004091/1.231, allocations: 358.9 kB / 1.267 GB, free: 15.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.231, allocations: 0 / 1.267 GB, free: 15.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009498/1.232, allocations: 344.8 kB / 1.268 GB, free: 15.25 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senMasFra1.X) * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001567/1.233, allocations: 1.351 MB / 1.269 GB, free: 14.47 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001229/1.234, allocations: 0.5873 MB / 1.269 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.234, allocations: 2 kB / 1.269 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003452/1.235, allocations: 189.9 kB / 1.27 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/1.237, allocations: 353.7 kB / 1.27 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007295/1.244, allocations: 5.271 MB / 1.275 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006861/1.245, allocations: 0.9385 MB / 1.276 GB, free: 11.35 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009168/1.246, allocations: 210.1 kB / 1.276 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/1.246, allocations: 220.3 kB / 1.276 GB, free: 11.32 MB / 1.014 GB Notification: Performance of SimCode: time 2.314e-06/1.246, allocations: 0 / 1.276 GB, free: 11.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04569/1.292, allocations: 16.26 MB / 1.292 GB, free: 10.29 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003294/1.292, allocations: 270.8 kB / 1.293 GB, free: 9.938 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/3.465, allocations: 6.625 kB / 1.293 GB, free: 9.934 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches