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: 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.00153/0.00153, allocations: 113.5 kB / 16.42 MB, free: 6.441 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.001791/0.001791, allocations: 187.9 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.09 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.172/2.172, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 59.91 kB / 0.9516 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6903/0.6916, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.197/0.8886, allocations: 186.8 MB / 1.271 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007643/0.8963, allocations: 4.563 MB / 1.276 GB, free: 14.44 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.8977, allocations: 31.81 kB / 1.276 GB, free: 14.41 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.8993, allocations: 425.3 kB / 1.276 GB, free: 13.99 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003835/0.9032, allocations: 1.389 MB / 1.277 GB, free: 12.6 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.9052, allocations: 0.7673 MB / 1.278 GB, free: 11.83 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002317/0.9075, allocations: 1.968 MB / 1.28 GB, free: 9.859 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.9085, allocations: 0.6573 MB / 1.281 GB, free: 9.191 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002902/0.9114, allocations: 1.11 MB / 1.282 GB, free: 8.094 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009977/0.9124, allocations: 0.5859 MB / 1.282 GB, free: 7.508 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.9126, allocations: 64 kB / 1.282 GB, free: 7.445 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002585/0.9152, allocations: 1.391 MB / 1.284 GB, free: 6.051 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003584/0.9156, allocations: 291.2 kB / 1.284 GB, free: 5.766 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005827/0.9162, allocations: 422.1 kB / 1.284 GB, free: 5.352 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.9185, allocations: 1.476 MB / 1.286 GB, free: 3.871 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.9185, allocations: 0 / 1.286 GB, free: 3.871 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9185, allocations: 0 / 1.286 GB, free: 3.871 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.134e-05/0.9185, allocations: 0 / 1.286 GB, free: 3.871 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.001878/0.9204, allocations: 1.087 MB / 1.287 GB, free: 2.734 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.9204, allocations: 12.03 kB / 1.287 GB, free: 2.723 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.9218, allocations: 202.9 kB / 1.287 GB, free: 2.523 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.9229, allocations: 0.6183 MB / 1.288 GB, free: 1.859 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.9229, allocations: 37.31 kB / 1.288 GB, free: 1.824 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.184e-05/0.923, allocations: 56 kB / 1.288 GB, free: 1.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009608/0.924, allocations: 0.6206 MB / 1.288 GB, free: 1.133 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.924, allocations: 3.938 kB / 1.288 GB, free: 1.129 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.9241, allocations: 24 kB / 1.288 GB, free: 1.105 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.9241, allocations: 21.31 kB / 1.288 GB, free: 1.086 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007714/0.9249, allocations: 0.4969 MB / 1.289 GB, free: 0.5898 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.00282/0.9277, allocations: 2.392 MB / 1.291 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005741/0.9283, allocations: 358.7 kB / 1.292 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.9286, allocations: 210.4 kB / 1.292 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005496/0.9292, allocations: 315.8 kB / 1.292 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.9292, allocations: 38.56 kB / 1.292 GB, free: 13.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 1.803e-06/0.9292, allocations: 0 / 1.292 GB, free: 13.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=36): time 0.001076/0.9303, allocations: 0.5518 MB / 1.293 GB, free: 12.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.9303, allocations: 55.41 kB / 1.293 GB, free: 12.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005218/0.9308, allocations: 0.4912 MB / 1.293 GB, free: 11.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.9309, allocations: 29.7 kB / 1.293 GB, free: 11.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.9311, allocations: 319.8 kB / 1.294 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.9312, allocations: 134.1 kB / 1.294 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.9314, allocations: 86.03 kB / 1.294 GB, free: 11.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.9315, allocations: 370.7 kB / 1.294 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.9317, allocations: 150.5 kB / 1.294 GB, free: 10.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.9321, allocations: 255.8 kB / 1.294 GB, free: 10.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.9326, allocations: 418.1 kB / 1.295 GB, free: 10.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.9326, allocations: 3.938 kB / 1.295 GB, free: 10.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007195/0.9333, allocations: 489.2 kB / 1.295 GB, free: 9.574 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.9334, allocations: 4 kB / 1.295 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.9334, allocations: 4.281 kB / 1.295 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.9334, allocations: 8 kB / 1.295 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.934, allocations: 95.89 kB / 1.295 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003446/0.9343, allocations: 0.5976 MB / 1.296 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.9348, allocations: 47.52 kB / 1.296 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.9349, allocations: 16 kB / 1.296 GB, free: 8.781 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004105/0.9353, allocations: 329 kB / 1.296 GB, free: 8.457 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000301/0.9356, allocations: 259.4 kB / 1.297 GB, free: 8.168 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005106/0.9361, allocations: 404.6 kB / 1.297 GB, free: 7.742 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.297e-06/0.9361, allocations: 3.984 kB / 1.297 GB, free: 7.738 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006987/0.9368, allocations: 484.5 kB / 1.298 GB, free: 7.258 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.9369, allocations: 8 kB / 1.298 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/0.9369, allocations: 0 / 1.298 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.9369, allocations: 7.938 kB / 1.298 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.9373, allocations: 96.11 kB / 1.298 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.9373, allocations: 8 kB / 1.298 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.9377, allocations: 27.73 kB / 1.298 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.9378, allocations: 20 kB / 1.298 GB, free: 7.094 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.0001521/0.9379, allocations: 204.1 kB / 1.298 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.9381, allocations: 59.28 kB / 1.298 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007198/0.9388, allocations: 449.4 kB / 1.298 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00061/0.9394, allocations: 0.6597 MB / 1.299 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9394, allocations: 0 / 1.299 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.9397, allocations: 184.2 kB / 1.299 GB, free: 5.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.206e-05/0.9398, allocations: 11.98 kB / 1.299 GB, free: 5.418 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.9401, allocations: 9.125 kB / 1.299 GB, free: 5.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.9402, allocations: 19.97 kB / 1.299 GB, free: 5.391 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009968/0.9412, allocations: 0.5052 MB / 1.3 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008887/0.9421, allocations: 0.7597 MB / 1.3 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002321/0.9423, allocations: 160 kB / 1.301 GB, free: 3.941 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003936/0.9427, allocations: 366.8 kB / 1.301 GB, free: 3.586 MB / 1.029 GB Notification: Performance of Backend: time 4.41e-07/0.9427, allocations: 3.938 kB / 1.301 GB, free: 3.582 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00212/0.9448, allocations: 0.8115 MB / 1.302 GB, free: 2.773 MB / 1.029 GB Notification: Performance of SimCode: time 0.002905/0.9478, allocations: 1.913 MB / 1.304 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of Templates: time 0.02469/0.9725, allocations: 15.62 MB / 1.319 GB, free: 1.355 MB / 1.045 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/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