Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_9_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.008785/0.008785, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.002242/0.002242, allocations: 196.2 kB / 16.67 MB, free: 5.969 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.612/1.612, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.538/2.538, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 64.08 kB / 0.9504 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2536, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.8735/1.127, allocations: 186.8 MB / 1.27 GB, free: 3.227 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00782/1.135, allocations: 4.563 MB / 1.274 GB, free: 3.176 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009333/1.136, allocations: 34.62 kB / 1.274 GB, free: 3.176 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/1.137, allocations: 419.9 kB / 1.275 GB, free: 3.172 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003484/1.141, allocations: 1.4 MB / 1.276 GB, free: 3.113 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002112/1.143, allocations: 0.76 MB / 1.277 GB, free: 3.094 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002677/1.146, allocations: 1.96 MB / 1.279 GB, free: 3.094 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/1.147, allocations: 0.6653 MB / 1.279 GB, free: 3.031 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00335/1.15, allocations: 1.11 MB / 1.281 GB, free: 3.016 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/1.151, allocations: 0.5856 MB / 1.281 GB, free: 3.016 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/1.151, allocations: 64.19 kB / 1.281 GB, free: 3.016 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/1.154, allocations: 1.392 MB / 1.283 GB, free: 3 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003626/1.155, allocations: 285.1 kB / 1.283 GB, free: 2.996 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005455/1.155, allocations: 422.5 kB / 1.283 GB, free: 2.996 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002605/1.158, allocations: 1.472 MB / 1.285 GB, free: 2.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.158, allocations: 2.234 kB / 1.285 GB, free: 2.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.994e-06/1.158, allocations: 0 / 1.285 GB, free: 2.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.066e-05/1.158, allocations: 1.703 kB / 1.285 GB, free: 2.91 MB / 1.014 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.001756/1.16, allocations: 1.127 MB / 1.286 GB, free: 2.227 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/1.16, allocations: 9.812 kB / 1.286 GB, free: 2.227 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/1.16, allocations: 92.84 kB / 1.286 GB, free: 2.188 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/1.161, allocations: 207.3 kB / 1.286 GB, free: 2.145 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/1.162, allocations: 0.6245 MB / 1.287 GB, free: 1.859 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/1.162, allocations: 40.16 kB / 1.287 GB, free: 1.859 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.86e-05/1.162, allocations: 55.52 kB / 1.287 GB, free: 1.859 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/1.163, allocations: 0.6216 MB / 1.287 GB, free: 1.785 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/1.164, allocations: 0 / 1.287 GB, free: 1.785 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/1.164, allocations: 22.81 kB / 1.287 GB, free: 1.785 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/1.164, allocations: 19.52 kB / 1.287 GB, free: 1.785 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008323/1.164, allocations: 0.4961 MB / 1.288 GB, free: 1.777 MB / 1.014 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.003068/1.168, allocations: 2.403 MB / 1.29 GB, free: 16.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/1.168, allocations: 354.8 kB / 1.291 GB, free: 16.45 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/1.168, allocations: 215.2 kB / 1.291 GB, free: 16.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005935/1.169, allocations: 309.2 kB / 1.291 GB, free: 16.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/1.169, allocations: 41.44 kB / 1.291 GB, free: 16.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 1.883e-06/1.169, allocations: 1.203 kB / 1.291 GB, free: 16.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=36): time 0.00117/1.17, allocations: 0.5479 MB / 1.292 GB, free: 16.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/1.17, allocations: 56.66 kB / 1.292 GB, free: 15.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006044/1.171, allocations: 0.4962 MB / 1.292 GB, free: 15.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/1.171, allocations: 36.2 kB / 1.292 GB, free: 15.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/1.171, allocations: 321.3 kB / 1.293 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/1.171, allocations: 138.2 kB / 1.293 GB, free: 15.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/1.171, allocations: 87.95 kB / 1.293 GB, free: 15.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.172, allocations: 363.7 kB / 1.293 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/1.172, allocations: 154.2 kB / 1.293 GB, free: 15.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/1.172, allocations: 260.1 kB / 1.293 GB, free: 15.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/1.173, allocations: 413.3 kB / 1.294 GB, free: 15.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.173, allocations: 2.156 kB / 1.294 GB, free: 15.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007329/1.173, allocations: 493 kB / 1.294 GB, free: 14.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/1.173, allocations: 8.719 kB / 1.294 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.174, allocations: 2.906 kB / 1.294 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.174, allocations: 4.688 kB / 1.294 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/1.174, allocations: 103.7 kB / 1.294 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003653/1.175, allocations: 0.5972 MB / 1.295 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005738/1.175, allocations: 51.34 kB / 1.295 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/1.175, allocations: 18.95 kB / 1.295 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004555/1.176, allocations: 328 kB / 1.295 GB, free: 14.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003047/1.176, allocations: 257.1 kB / 1.296 GB, free: 14.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005185/1.176, allocations: 402 kB / 1.296 GB, free: 14.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/1.176, allocations: 2.672 kB / 1.296 GB, free: 14.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007248/1.177, allocations: 490.7 kB / 1.297 GB, free: 14.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/1.177, allocations: 7.578 kB / 1.297 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/1.177, allocations: 3.625 kB / 1.297 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.054e-06/1.177, allocations: 3.938 kB / 1.297 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/1.178, allocations: 88.78 kB / 1.297 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/1.178, allocations: 8.422 kB / 1.297 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/1.178, allocations: 37.27 kB / 1.297 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/1.178, allocations: 18.02 kB / 1.297 GB, free: 14.01 MB / 1.029 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.0001631/1.178, allocations: 210.3 kB / 1.297 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/1.178, allocations: 60.16 kB / 1.297 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007681/1.179, allocations: 441.8 kB / 1.297 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/1.179, allocations: 3.375 kB / 1.297 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/1.179, allocations: 3.938 kB / 1.297 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006378/1.18, allocations: 0.6613 MB / 1.298 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/1.182, allocations: 1.203 MB / 1.299 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.182, allocations: 3.906 kB / 1.299 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005133/1.182, allocations: 93.69 kB / 1.299 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/1.182, allocations: 5 kB / 1.299 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/1.182, allocations: 12.11 kB / 1.299 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000358/1.183, allocations: 0.588 MB / 1.3 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.183, allocations: 4.188 kB / 1.3 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009681/1.184, allocations: 0.7159 MB / 1.301 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/1.184, allocations: 180.2 kB / 1.301 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.965e-05/1.184, allocations: 21.8 kB / 1.301 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/1.185, allocations: 15.05 kB / 1.301 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/1.185, allocations: 27.23 kB / 1.301 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/1.185, allocations: 14.91 kB / 1.301 GB, free: 11.97 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004409/1.185, allocations: 358.7 kB / 1.301 GB, free: 11.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.185, allocations: 0 / 1.301 GB, free: 11.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001085/1.186, allocations: 346.8 kB / 1.301 GB, free: 11.84 MB / 1.029 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.001527/1.188, allocations: 1.367 MB / 1.303 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001197/1.189, allocations: 0.5921 MB / 1.303 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.189, allocations: 1.062 kB / 1.303 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003173/1.189, allocations: 191.5 kB / 1.304 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/1.191, allocations: 355 kB / 1.304 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006484/1.198, allocations: 4.876 MB / 1.309 GB, free: 9.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/1.198, allocations: 0.9419 MB / 1.31 GB, free: 8.383 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007587/1.199, allocations: 209.2 kB / 1.31 GB, free: 8.344 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/1.199, allocations: 225.6 kB / 1.31 GB, free: 8.336 MB / 1.029 GB Notification: Performance of SimCode: time 1.402e-06/1.199, allocations: 0 / 1.31 GB, free: 8.336 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05019/1.249, allocations: 17.07 MB / 1.327 GB, free: 6.906 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/13.14, allocations: 6.656 kB / 1.327 GB, free: 6.902 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches