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: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_latest_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_latest_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.001059/0.001059, allocations: 111.6 kB / 16.42 MB, free: 6.457 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.001013/0.001013, allocations: 192.2 kB / 17.35 MB, free: 5.715 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.307/1.307, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.473/2.473, allocations: 461.7 MB / 0.7352 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.717/0.7184, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.1784/0.8969, allocations: 186.8 MB / 1.391 GB, free: 2.066 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.9085, allocations: 4.572 MB / 1.395 GB, free: 13.48 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.9103, allocations: 27.81 kB / 1.395 GB, free: 13.46 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.9121, allocations: 409.5 kB / 1.396 GB, free: 13.05 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005033/0.9172, allocations: 1.348 MB / 1.397 GB, free: 11.7 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.9202, allocations: 0.7619 MB / 1.398 GB, free: 10.95 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003529/0.9237, allocations: 1.956 MB / 1.399 GB, free: 8.98 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.9252, allocations: 0.6573 MB / 1.4 GB, free: 8.312 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003763/0.929, allocations: 1.074 MB / 1.401 GB, free: 7.246 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.9305, allocations: 0.5853 MB / 1.402 GB, free: 6.66 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.9308, allocations: 68 kB / 1.402 GB, free: 6.594 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003708/0.9345, allocations: 1.376 MB / 1.403 GB, free: 5.215 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000538/0.9351, allocations: 299.2 kB / 1.403 GB, free: 4.922 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007381/0.9358, allocations: 410.2 kB / 1.404 GB, free: 4.52 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003199/0.939, allocations: 1.476 MB / 1.405 GB, free: 3.039 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.939, allocations: 0 / 1.405 GB, free: 3.039 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9391, allocations: 0 / 1.405 GB, free: 3.039 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.9391, allocations: 0 / 1.405 GB, free: 3.039 MB / 1.123 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.002179/0.9413, allocations: 1.09 MB / 1.406 GB, free: 1.898 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.9413, allocations: 12.03 kB / 1.406 GB, free: 1.887 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.9433, allocations: 202.9 kB / 1.407 GB, free: 1.688 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.9447, allocations: 0.6105 MB / 1.407 GB, free: 1.031 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.465e-05/0.9447, allocations: 45.3 kB / 1.407 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.9449, allocations: 52 kB / 1.407 GB, free: 0.9375 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.9463, allocations: 0.6167 MB / 1.408 GB, free: 312 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.9463, allocations: 11.88 kB / 1.408 GB, free: 300 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.578e-05/0.9464, allocations: 24 kB / 1.408 GB, free: 276 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.06e-05/0.9465, allocations: 21.3 kB / 1.408 GB, free: 256 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.9477, allocations: 0.4893 MB / 1.408 GB, free: 15.76 MB / 1.139 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.003848/0.9515, allocations: 2.404 MB / 1.411 GB, free: 13.15 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/0.9524, allocations: 356.8 kB / 1.411 GB, free: 12.79 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/0.9528, allocations: 212.7 kB / 1.411 GB, free: 12.58 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007217/0.9536, allocations: 303.2 kB / 1.412 GB, free: 12.23 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.9536, allocations: 38.56 kB / 1.412 GB, free: 12.18 MB / 1.139 GB Notification: Performance of pre-optimization done (n=36): time 2.886e-06/0.9536, allocations: 0 / 1.412 GB, free: 12.18 MB / 1.139 GB Notification: Performance of matching and sorting (n=36): time 0.001665/0.9553, allocations: 0.5494 MB / 1.412 GB, free: 11.63 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.9554, allocations: 55.41 kB / 1.412 GB, free: 11.56 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006327/0.956, allocations: 0.4912 MB / 1.413 GB, free: 11.06 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.9561, allocations: 37.69 kB / 1.413 GB, free: 11.02 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.9563, allocations: 319.8 kB / 1.413 GB, free: 10.7 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.9565, allocations: 126.2 kB / 1.413 GB, free: 10.58 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.9567, allocations: 89.97 kB / 1.413 GB, free: 10.48 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.9569, allocations: 366.7 kB / 1.414 GB, free: 10.12 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.9571, allocations: 162.5 kB / 1.414 GB, free: 9.953 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.9574, allocations: 259.8 kB / 1.414 GB, free: 9.664 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.958, allocations: 406.2 kB / 1.414 GB, free: 9.238 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.958, allocations: 0 / 1.414 GB, free: 9.238 MB / 1.139 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006976/0.9587, allocations: 489.2 kB / 1.415 GB, free: 8.754 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.9587, allocations: 4 kB / 1.415 GB, free: 8.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.9587, allocations: 4.062 kB / 1.415 GB, free: 8.746 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.9588, allocations: 8.281 kB / 1.415 GB, free: 8.738 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005477/0.9593, allocations: 111.8 kB / 1.415 GB, free: 8.629 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000349/0.9597, allocations: 0.5938 MB / 1.416 GB, free: 8.012 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.9602, allocations: 47.52 kB / 1.416 GB, free: 7.965 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.9602, allocations: 20 kB / 1.416 GB, free: 7.945 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004097/0.9606, allocations: 325 kB / 1.416 GB, free: 7.625 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002963/0.9609, allocations: 255.4 kB / 1.416 GB, free: 7.332 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005085/0.9614, allocations: 404.6 kB / 1.417 GB, free: 6.906 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.694e-06/0.9615, allocations: 4 kB / 1.417 GB, free: 6.902 MB / 1.139 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006794/0.9621, allocations: 488.5 kB / 1.417 GB, free: 6.418 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.9622, allocations: 7.984 kB / 1.417 GB, free: 6.41 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.9622, allocations: 4 kB / 1.417 GB, free: 6.406 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.572e-06/0.9622, allocations: 7.938 kB / 1.417 GB, free: 6.398 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.9625, allocations: 83.91 kB / 1.417 GB, free: 6.316 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.9625, allocations: 12.22 kB / 1.417 GB, free: 6.305 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/0.963, allocations: 31.73 kB / 1.417 GB, free: 6.273 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.963, allocations: 16 kB / 1.417 GB, free: 6.258 MB / 1.139 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.0001382/0.9632, allocations: 204.1 kB / 1.417 GB, free: 6.051 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/0.9633, allocations: 63.27 kB / 1.417 GB, free: 5.988 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007176/0.964, allocations: 453.7 kB / 1.418 GB, free: 5.535 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006131/0.9646, allocations: 0.6521 MB / 1.418 GB, free: 4.797 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.9647, allocations: 4 kB / 1.418 GB, free: 4.793 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.9649, allocations: 172.3 kB / 1.419 GB, free: 4.605 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.176e-05/0.9649, allocations: 8 kB / 1.419 GB, free: 4.598 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.9653, allocations: 15.98 kB / 1.419 GB, free: 4.582 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.9653, allocations: 15.97 kB / 1.419 GB, free: 4.566 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001006/0.9663, allocations: 0.5128 MB / 1.419 GB, free: 4.043 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00089/0.9672, allocations: 0.7558 MB / 1.42 GB, free: 3.27 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002236/0.9675, allocations: 168 kB / 1.42 GB, free: 3.105 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000399/0.9679, allocations: 358.8 kB / 1.42 GB, free: 2.758 MB / 1.139 GB Notification: Performance of Backend: time 5.41e-07/0.9679, allocations: 0 / 1.42 GB, free: 2.758 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002174/0.9701, allocations: 0.8278 MB / 1.421 GB, free: 1.934 MB / 1.139 GB Notification: Performance of SimCode: time 0.002883/0.973, allocations: 1.897 MB / 1.423 GB, free: 15.99 MB / 1.154 GB Notification: Performance of Templates: time 0.02384/0.9968, allocations: 15.49 MB / 1.438 GB, free: 0.6562 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (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 & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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