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.004884/0.004884, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001084/0.001084, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.201/2.201, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.89 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7716/0.7729, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2124/0.9854, allocations: 186.8 MB / 1.27 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007309/0.9927, allocations: 4.56 MB / 1.274 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009356/0.9937, allocations: 31.81 kB / 1.274 GB, free: 14.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.9949, allocations: 405.4 kB / 1.275 GB, free: 13.87 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003327/0.9983, allocations: 1.349 MB / 1.276 GB, free: 12.51 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/1, allocations: 0.7594 MB / 1.277 GB, free: 11.76 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002392/1.003, allocations: 1.96 MB / 1.279 GB, free: 9.793 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/1.004, allocations: 0.6632 MB / 1.279 GB, free: 9.117 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002638/1.006, allocations: 1.072 MB / 1.28 GB, free: 8.051 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/1.007, allocations: 0.5892 MB / 1.281 GB, free: 7.461 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/1.008, allocations: 64 kB / 1.281 GB, free: 7.398 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/1.01, allocations: 1.38 MB / 1.282 GB, free: 6.016 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000454/1.011, allocations: 283.2 kB / 1.283 GB, free: 5.738 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000789/1.011, allocations: 426.1 kB / 1.283 GB, free: 5.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002249/1.014, allocations: 1.476 MB / 1.285 GB, free: 3.84 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.014, allocations: 0 / 1.285 GB, free: 3.84 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/1.014, allocations: 0 / 1.285 GB, free: 3.84 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.072e-05/1.014, allocations: 0 / 1.285 GB, free: 3.84 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.001914/1.016, allocations: 1.083 MB / 1.286 GB, free: 2.707 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/1.016, allocations: 16.03 kB / 1.286 GB, free: 2.691 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/1.016, allocations: 90.52 kB / 1.286 GB, free: 2.594 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/1.017, allocations: 206.9 kB / 1.286 GB, free: 2.391 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/1.018, allocations: 0.6182 MB / 1.287 GB, free: 1.727 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/1.018, allocations: 41.31 kB / 1.287 GB, free: 1.688 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.747e-05/1.018, allocations: 52 kB / 1.287 GB, free: 1.637 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/1.019, allocations: 0.6206 MB / 1.287 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/1.019, allocations: 4 kB / 1.287 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/1.019, allocations: 20 kB / 1.287 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/1.02, allocations: 25.3 kB / 1.287 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008196/1.02, allocations: 0.4892 MB / 1.288 GB, free: 476 kB / 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.003093/1.023, allocations: 2.4 MB / 1.29 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/1.024, allocations: 358.7 kB / 1.29 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/1.024, allocations: 214.1 kB / 1.291 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005832/1.025, allocations: 311.8 kB / 1.291 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/1.025, allocations: 34.56 kB / 1.291 GB, free: 12.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 1.733e-06/1.025, allocations: 4 kB / 1.291 GB, free: 12.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=36): time 0.001189/1.026, allocations: 0.5518 MB / 1.291 GB, free: 12.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/1.026, allocations: 59.41 kB / 1.292 GB, free: 12.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005616/1.027, allocations: 0.4911 MB / 1.292 GB, free: 11.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/1.027, allocations: 33.7 kB / 1.292 GB, free: 11.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/1.027, allocations: 315.8 kB / 1.292 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/1.027, allocations: 134.1 kB / 1.292 GB, free: 11.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/1.027, allocations: 86.03 kB / 1.293 GB, free: 11.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.028, allocations: 370.8 kB / 1.293 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/1.028, allocations: 154.5 kB / 1.293 GB, free: 10.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/1.028, allocations: 263.7 kB / 1.293 GB, free: 10.35 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/1.029, allocations: 410.1 kB / 1.294 GB, free: 9.918 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.029, allocations: 0 / 1.294 GB, free: 9.918 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007378/1.029, allocations: 485.2 kB / 1.294 GB, free: 9.438 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.029, allocations: 8 kB / 1.294 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.029, allocations: 288 / 1.294 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/1.03, allocations: 12 kB / 1.294 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005538/1.03, allocations: 99.81 kB / 1.294 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003635/1.03, allocations: 0.5899 MB / 1.295 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/1.031, allocations: 51.55 kB / 1.295 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/1.031, allocations: 16.09 kB / 1.295 GB, free: 8.641 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004202/1.031, allocations: 328.9 kB / 1.295 GB, free: 8.316 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003111/1.032, allocations: 259.4 kB / 1.295 GB, free: 8.027 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005326/1.032, allocations: 408.6 kB / 1.296 GB, free: 7.598 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.506e-06/1.032, allocations: 4 kB / 1.296 GB, free: 7.594 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007043/1.033, allocations: 480.5 kB / 1.296 GB, free: 7.117 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.033, allocations: 9.812 kB / 1.296 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.033, allocations: 4 kB / 1.296 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/1.033, allocations: 7.984 kB / 1.296 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/1.033, allocations: 88.12 kB / 1.296 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.033, allocations: 4 kB / 1.296 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/1.034, allocations: 35.73 kB / 1.296 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/1.034, allocations: 20 kB / 1.297 GB, free: 6.953 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.0001526/1.034, allocations: 207 kB / 1.297 GB, free: 6.746 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/1.034, allocations: 59.28 kB / 1.297 GB, free: 6.688 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007583/1.035, allocations: 445.3 kB / 1.297 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.035, allocations: 8 kB / 1.297 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.035, allocations: 3.984 kB / 1.297 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006306/1.036, allocations: 0.6675 MB / 1.298 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/1.037, allocations: 1.21 MB / 1.299 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/1.037, allocations: 4 kB / 1.299 GB, free: 4.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004567/1.038, allocations: 91.77 kB / 1.299 GB, free: 4.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/1.038, allocations: 4 kB / 1.299 GB, free: 4.086 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/1.038, allocations: 15.98 kB / 1.299 GB, free: 4.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002857/1.038, allocations: 0.594 MB / 1.3 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.038, allocations: 4.031 kB / 1.3 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008659/1.039, allocations: 0.7002 MB / 1.3 GB, free: 2.711 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/1.039, allocations: 180.3 kB / 1.301 GB, free: 2.516 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-05/1.039, allocations: 11.98 kB / 1.301 GB, free: 2.504 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/1.04, allocations: 13.12 kB / 1.301 GB, free: 2.492 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/1.04, allocations: 23.97 kB / 1.301 GB, free: 2.469 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/1.04, allocations: 15.98 kB / 1.301 GB, free: 2.453 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003971/1.04, allocations: 362.8 kB / 1.301 GB, free: 2.102 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.04, allocations: 0 / 1.301 GB, free: 2.102 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009245/1.041, allocations: 343.2 kB / 1.301 GB, free: 1.766 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.001469/1.043, allocations: 1.343 MB / 1.303 GB, free: 392 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001153/1.044, allocations: 0.5947 MB / 1.303 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.044, allocations: 4.375 kB / 1.303 GB, free: 15.79 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/1.044, allocations: 187.7 kB / 1.303 GB, free: 15.6 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/1.046, allocations: 359.1 kB / 1.304 GB, free: 15.25 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006085/1.052, allocations: 4.865 MB / 1.308 GB, free: 10.21 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/1.053, allocations: 0.9375 MB / 1.309 GB, free: 9.246 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0005994/1.053, allocations: 208.9 kB / 1.31 GB, free: 9.039 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/1.053, allocations: 219.4 kB / 1.31 GB, free: 8.824 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/1.053, allocations: 0 / 1.31 GB, free: 8.824 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04107/1.095, allocations: 17.08 MB / 1.326 GB, free: 8.055 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/13.08, allocations: 3.938 kB / 1.326 GB, free: 8.051 MB / 1.061 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