Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001554/0.001554, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.331/1.331, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.547/2.547, allocations: 437 MB / 0.7106 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.89 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6995/0.701, allocations: 151.6 MB / 1.017 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.1873/0.8884, allocations: 184.6 MB / 1.198 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007687/0.8961, allocations: 4.627 MB / 1.202 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.8973, allocations: 27.81 kB / 1.202 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.8986, allocations: 346.1 kB / 1.202 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003553/0.9022, allocations: 1.264 MB / 1.204 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.9043, allocations: 0.6774 MB / 1.204 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003107/0.9074, allocations: 2.752 MB / 1.207 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.9084, allocations: 0.551 MB / 1.208 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003362/0.9118, allocations: 0.962 MB / 1.208 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.9131, allocations: 0.613 MB / 1.209 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.9133, allocations: 36 kB / 1.209 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.9163, allocations: 1.559 MB / 1.211 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004132/0.9167, allocations: 255.3 kB / 1.211 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008953/0.9176, allocations: 382.1 kB / 1.211 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.9195, allocations: 1.088 MB / 1.212 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.9195, allocations: 0 / 1.212 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9195, allocations: 0 / 1.212 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.527e-05/0.9196, allocations: 0 / 1.212 GB, free: 10.5 MB / 0.9669 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.003409/0.923, allocations: 1.102 MB / 1.213 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 7.116e-05/0.9231, allocations: 12.03 kB / 1.213 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.9248, allocations: 202.9 kB / 1.214 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.926, allocations: 0.5715 MB / 1.214 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.9261, allocations: 37.31 kB / 1.214 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.9262, allocations: 64 kB / 1.214 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.9273, allocations: 0.6167 MB / 1.215 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.9273, allocations: 3.938 kB / 1.215 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/0.9274, allocations: 24 kB / 1.215 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.292e-05/0.9274, allocations: 25.28 kB / 1.215 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008736/0.9283, allocations: 0.4892 MB / 1.215 GB, free: 7.25 MB / 0.9669 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.003269/0.9316, allocations: 2.388 MB / 1.218 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006407/0.9323, allocations: 362.7 kB / 1.218 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.9326, allocations: 208.8 kB / 1.218 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005919/0.9332, allocations: 303.8 kB / 1.219 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.9332, allocations: 46.55 kB / 1.219 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 2.384e-06/0.9332, allocations: 0 / 1.219 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36): time 0.001195/0.9344, allocations: 0.5454 MB / 1.219 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.9345, allocations: 59.39 kB / 1.219 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006064/0.9351, allocations: 0.5027 MB / 1.22 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.9352, allocations: 33.7 kB / 1.22 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.9354, allocations: 323.8 kB / 1.22 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.9355, allocations: 130.1 kB / 1.22 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.9357, allocations: 78.14 kB / 1.22 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.9358, allocations: 370.7 kB / 1.221 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.9361, allocations: 150.5 kB / 1.221 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.9365, allocations: 255.8 kB / 1.221 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005701/0.9371, allocations: 414.1 kB / 1.221 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.9371, allocations: 0 / 1.221 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007789/0.9379, allocations: 496.7 kB / 1.222 GB, free: 240 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.9379, allocations: 4 kB / 1.222 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.9379, allocations: 4 kB / 1.222 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.9379, allocations: 4 kB / 1.222 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005705/0.9385, allocations: 95.89 kB / 1.222 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004136/0.9389, allocations: 0.6057 MB / 1.222 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006317/0.9396, allocations: 79.58 kB / 1.223 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.9396, allocations: 16 kB / 1.223 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004584/0.9401, allocations: 324.9 kB / 1.223 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000317/0.9404, allocations: 259.4 kB / 1.223 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005319/0.9409, allocations: 404.5 kB / 1.224 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.029e-06/0.941, allocations: 4 kB / 1.224 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007531/0.9417, allocations: 480.7 kB / 1.224 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.9417, allocations: 8.062 kB / 1.224 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.9417, allocations: 7.938 kB / 1.224 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.9418, allocations: 4 kB / 1.224 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.9421, allocations: 87.89 kB / 1.224 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.9421, allocations: 7.938 kB / 1.224 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005935/0.9427, allocations: 67.7 kB / 1.224 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.9428, allocations: 12 kB / 1.224 GB, free: 13.7 MB / 0.9825 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.0001747/0.943, allocations: 208.1 kB / 1.224 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.9431, allocations: 63.28 kB / 1.224 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007558/0.9439, allocations: 451.8 kB / 1.225 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.9439, allocations: 4 kB / 1.225 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.9439, allocations: 0 / 1.225 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006301/0.9445, allocations: 0.6557 MB / 1.226 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.9463, allocations: 1.208 MB / 1.227 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.9463, allocations: 0 / 1.227 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004655/0.9468, allocations: 91.89 kB / 1.227 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.9468, allocations: 4 kB / 1.227 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.9469, allocations: 11.98 kB / 1.227 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003152/0.9472, allocations: 0.594 MB / 1.227 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.9472, allocations: 7.969 kB / 1.227 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009047/0.9481, allocations: 0.7058 MB / 1.228 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.9484, allocations: 172.4 kB / 1.228 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.5e-05/0.9485, allocations: 15.92 kB / 1.228 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004898/0.949, allocations: 43.91 kB / 1.228 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.9491, allocations: 23.91 kB / 1.228 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.9491, allocations: 16 kB / 1.228 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004265/0.9495, allocations: 362.8 kB / 1.229 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9495, allocations: 0 / 1.229 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00101/0.9506, allocations: 347.1 kB / 1.229 GB, free: 8.496 MB / 0.9825 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.0005275/0.9511, allocations: 201.6 kB / 1.229 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.9523, allocations: 0.5899 MB / 1.23 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.9523, allocations: 0 / 1.23 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.9527, allocations: 196.7 kB / 1.23 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.9545, allocations: 367.8 kB / 1.23 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.9569, allocations: 1.621 MB / 1.232 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.9575, allocations: 0.9339 MB / 1.233 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.9577, allocations: 59.44 kB / 1.233 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.9577, allocations: 0 / 1.233 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of Templates: time 0.01912/0.9768, allocations: 12.67 MB / 1.245 GB, free: 7.871 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_MassFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.MassFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches