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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006096/0.006096, allocations: 109.5 kB / 15.71 MB, free: 5.531 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.001273/0.001273, allocations: 187.5 kB / 16.64 MB, free: 5.473 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.389/1.389, allocations: 222.9 MB / 240.3 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.3 MB / 0.6648 GB, free: 136 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.94 kB / 0.9509 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2961, allocations: 140.4 MB / 1.088 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.9186/1.215, allocations: 186.8 MB / 1.27 GB, free: 3.539 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01058/1.225, allocations: 4.567 MB / 1.275 GB, free: 3.484 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/1.227, allocations: 34.34 kB / 1.275 GB, free: 3.484 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/1.228, allocations: 406.1 kB / 1.275 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004591/1.233, allocations: 1.346 MB / 1.277 GB, free: 3.422 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002662/1.236, allocations: 0.766 MB / 1.277 GB, free: 3.402 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003839/1.239, allocations: 1.955 MB / 1.279 GB, free: 3.402 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/1.241, allocations: 0.6535 MB / 1.28 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004253/1.245, allocations: 1.081 MB / 1.281 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/1.247, allocations: 0.5835 MB / 1.282 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000178/1.247, allocations: 66.25 kB / 1.282 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004314/1.252, allocations: 1.387 MB / 1.283 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005707/1.252, allocations: 286.3 kB / 1.283 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001652/1.254, allocations: 415.6 kB / 1.284 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005863/1.26, allocations: 1.472 MB / 1.285 GB, free: 3.223 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/1.26, allocations: 0 / 1.285 GB, free: 3.223 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.364e-06/1.26, allocations: 1.938 kB / 1.285 GB, free: 3.223 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.455e-05/1.26, allocations: 0.5312 kB / 1.285 GB, free: 3.223 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.003789/1.264, allocations: 1.093 MB / 1.286 GB, free: 2.566 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/1.264, allocations: 9.875 kB / 1.286 GB, free: 2.566 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/1.265, allocations: 206.1 kB / 1.286 GB, free: 2.527 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/1.267, allocations: 0.6152 MB / 1.287 GB, free: 2.246 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/1.267, allocations: 41.53 kB / 1.287 GB, free: 2.246 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/1.267, allocations: 51.5 kB / 1.287 GB, free: 2.246 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/1.268, allocations: 0.6285 MB / 1.288 GB, free: 2.172 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/1.268, allocations: 1.625 kB / 1.288 GB, free: 2.172 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.974e-05/1.268, allocations: 22.09 kB / 1.288 GB, free: 2.172 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/1.268, allocations: 21.42 kB / 1.288 GB, free: 2.172 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000981/1.269, allocations: 0.4903 MB / 1.288 GB, free: 2.164 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.00389/1.273, allocations: 2.396 MB / 1.29 GB, free: 16.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007248/1.274, allocations: 357.4 kB / 1.291 GB, free: 16.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/1.274, allocations: 214.5 kB / 1.291 GB, free: 16.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006267/1.275, allocations: 308.8 kB / 1.291 GB, free: 16.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/1.275, allocations: 39.89 kB / 1.291 GB, free: 16.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.595e-06/1.275, allocations: 0 / 1.291 GB, free: 16.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=36): time 0.001441/1.276, allocations: 0.5463 MB / 1.292 GB, free: 16.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/1.276, allocations: 56.56 kB / 1.292 GB, free: 16.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007599/1.277, allocations: 0.497 MB / 1.292 GB, free: 16.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/1.277, allocations: 35.17 kB / 1.292 GB, free: 16.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/1.278, allocations: 319.1 kB / 1.293 GB, free: 16.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/1.278, allocations: 128.8 kB / 1.293 GB, free: 16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/1.278, allocations: 86.09 kB / 1.293 GB, free: 15.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.278, allocations: 366.5 kB / 1.293 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/1.278, allocations: 155 kB / 1.293 GB, free: 15.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/1.279, allocations: 259.2 kB / 1.294 GB, free: 15.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006005/1.279, allocations: 411.2 kB / 1.294 GB, free: 15.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.279, allocations: 6.312 kB / 1.294 GB, free: 15.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008028/1.28, allocations: 489.9 kB / 1.295 GB, free: 15.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/1.28, allocations: 5.406 kB / 1.295 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.28, allocations: 4.141 kB / 1.295 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/1.28, allocations: 3.875 kB / 1.295 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006001/1.281, allocations: 106.2 kB / 1.295 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003961/1.281, allocations: 0.5916 MB / 1.295 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000598/1.282, allocations: 53.45 kB / 1.295 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/1.282, allocations: 19.25 kB / 1.295 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005638/1.282, allocations: 327.3 kB / 1.296 GB, free: 14.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003869/1.283, allocations: 254.7 kB / 1.296 GB, free: 14.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000578/1.283, allocations: 405.5 kB / 1.296 GB, free: 14.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/1.283, allocations: 4.984 kB / 1.296 GB, free: 14.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007561/1.284, allocations: 487.9 kB / 1.297 GB, free: 14.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/1.284, allocations: 7.094 kB / 1.297 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.284, allocations: 3.062 kB / 1.297 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/1.284, allocations: 5.062 kB / 1.297 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/1.285, allocations: 89.92 kB / 1.297 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.285, allocations: 5.703 kB / 1.297 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/1.285, allocations: 36.22 kB / 1.297 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/1.285, allocations: 21.72 kB / 1.297 GB, free: 14.42 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.0002015/1.285, allocations: 209.6 kB / 1.297 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/1.286, allocations: 54.53 kB / 1.297 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008805/1.286, allocations: 445.1 kB / 1.298 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/1.286, allocations: 4.094 kB / 1.298 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.286, allocations: 0.8438 kB / 1.298 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007072/1.287, allocations: 0.664 MB / 1.298 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/1.289, allocations: 1.206 MB / 1.299 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.289, allocations: 2.375 kB / 1.299 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/1.29, allocations: 89.58 kB / 1.3 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/1.29, allocations: 4.375 kB / 1.3 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/1.29, allocations: 12.78 kB / 1.3 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003236/1.29, allocations: 0.5886 MB / 1.3 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.29, allocations: 2.562 kB / 1.3 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/1.291, allocations: 0.7169 MB / 1.301 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/1.292, allocations: 174.7 kB / 1.301 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/1.292, allocations: 11.19 kB / 1.301 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/1.292, allocations: 20.06 kB / 1.301 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/1.292, allocations: 28.64 kB / 1.301 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/1.292, allocations: 13.47 kB / 1.301 GB, free: 12.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005005/1.293, allocations: 359.2 kB / 1.301 GB, free: 12.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.293, allocations: 0 / 1.301 GB, free: 12.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001334/1.294, allocations: 342.5 kB / 1.302 GB, free: 12.26 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.000589/1.295, allocations: 194 kB / 1.302 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001389/1.296, allocations: 0.5968 MB / 1.302 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/1.296, allocations: 1.75 kB / 1.302 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003401/1.297, allocations: 188.2 kB / 1.303 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/1.299, allocations: 364.5 kB / 1.303 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/1.301, allocations: 1.337 MB / 1.304 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007346/1.302, allocations: 0.9448 MB / 1.305 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008545/1.303, allocations: 209.3 kB / 1.305 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/1.303, allocations: 51.38 kB / 1.305 GB, free: 10.81 MB / 1.029 GB Notification: Performance of SimCode: time 7.02e-07/1.303, allocations: 0 / 1.305 GB, free: 10.81 MB / 1.029 GB Notification: Performance of Templates: time 0.02827/1.331, allocations: 11.8 MB / 1.317 GB, free: 10.1 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (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 & ./Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches