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.001274/0.001274, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001291/0.001291, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.281/2.281, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 64.38 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3243, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.8072/1.132, allocations: 186.8 MB / 1.134 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008194/1.14, allocations: 4.557 MB / 1.138 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/1.141, allocations: 36.23 kB / 1.138 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/1.142, allocations: 418 kB / 1.138 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003863/1.146, allocations: 1.335 MB / 1.14 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002215/1.149, allocations: 0.7557 MB / 1.14 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002534/1.151, allocations: 1.964 MB / 1.142 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009042/1.152, allocations: 0.6505 MB / 1.143 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003239/1.155, allocations: 1.079 MB / 1.144 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/1.157, allocations: 0.5902 MB / 1.145 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/1.157, allocations: 64.28 kB / 1.145 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00351/1.161, allocations: 1.38 MB / 1.146 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004093/1.161, allocations: 287.5 kB / 1.146 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006057/1.162, allocations: 416.8 kB / 1.147 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002574/1.164, allocations: 1.479 MB / 1.148 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.164, allocations: 0 / 1.148 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/1.164, allocations: 0 / 1.148 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.204e-05/1.164, allocations: 3.938 kB / 1.148 GB, free: 3.883 MB / 0.8575 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.00184/1.166, allocations: 1.091 MB / 1.149 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/1.166, allocations: 10 kB / 1.149 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/1.167, allocations: 203.3 kB / 1.149 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/1.169, allocations: 0.6144 MB / 1.15 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/1.169, allocations: 40.09 kB / 1.15 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.203e-05/1.169, allocations: 58.31 kB / 1.15 GB, free: 18.87 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009781/1.17, allocations: 0.6214 MB / 1.151 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/1.17, allocations: 3.859 kB / 1.151 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/1.17, allocations: 25.03 kB / 1.151 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/1.17, allocations: 18.28 kB / 1.151 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007305/1.171, allocations: 0.4966 MB / 1.151 GB, free: 18.5 MB / 0.8731 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.002975/1.174, allocations: 2.393 MB / 1.154 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/1.174, allocations: 360.6 kB / 1.154 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/1.174, allocations: 212.5 kB / 1.154 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005818/1.175, allocations: 306.1 kB / 1.154 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/1.175, allocations: 40.55 kB / 1.154 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=36): time 1.593e-06/1.175, allocations: 0 / 1.154 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36): time 0.001161/1.176, allocations: 0.5487 MB / 1.155 GB, free: 16.01 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/1.176, allocations: 57.69 kB / 1.155 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005762/1.177, allocations: 0.4944 MB / 1.156 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/1.177, allocations: 39.92 kB / 1.156 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/1.177, allocations: 320.2 kB / 1.156 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.081e-05/1.177, allocations: 124.8 kB / 1.156 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/1.177, allocations: 84.48 kB / 1.156 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.178, allocations: 369.5 kB / 1.156 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/1.178, allocations: 154.2 kB / 1.157 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/1.178, allocations: 261.7 kB / 1.157 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/1.179, allocations: 408.5 kB / 1.157 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.179, allocations: 0 / 1.157 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007016/1.179, allocations: 486.8 kB / 1.158 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/1.179, allocations: 8.562 kB / 1.158 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.179, allocations: 2.156 kB / 1.158 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.179, allocations: 4.531 kB / 1.158 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/1.18, allocations: 104.4 kB / 1.158 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003733/1.18, allocations: 0.6014 MB / 1.158 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/1.181, allocations: 40.05 kB / 1.158 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/1.181, allocations: 17.5 kB / 1.158 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004815/1.181, allocations: 335.2 kB / 1.159 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003009/1.182, allocations: 258.1 kB / 1.159 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005028/1.182, allocations: 400.9 kB / 1.159 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.979e-06/1.182, allocations: 5.234 kB / 1.159 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006966/1.183, allocations: 485.7 kB / 1.16 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/1.183, allocations: 12.77 kB / 1.16 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/1.183, allocations: 2.531 kB / 1.16 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/1.183, allocations: 7.656 kB / 1.16 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/1.183, allocations: 90.91 kB / 1.16 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.183, allocations: 6.234 kB / 1.16 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/1.184, allocations: 31.03 kB / 1.16 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/1.184, allocations: 18.38 kB / 1.16 GB, free: 12.8 MB / 0.8731 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.0001772/1.184, allocations: 214.3 kB / 1.16 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/1.184, allocations: 65.55 kB / 1.16 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007476/1.185, allocations: 437.9 kB / 1.161 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.185, allocations: 3.469 kB / 1.161 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.185, allocations: 0 / 1.161 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006439/1.186, allocations: 0.6689 MB / 1.161 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/1.187, allocations: 1.197 MB / 1.163 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.187, allocations: 2.188 kB / 1.163 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004572/1.188, allocations: 92.38 kB / 1.163 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/1.188, allocations: 3.875 kB / 1.163 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/1.188, allocations: 9.125 kB / 1.163 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003202/1.188, allocations: 0.6037 MB / 1.163 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.188, allocations: 2.406 kB / 1.163 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009279/1.189, allocations: 0.7018 MB / 1.164 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/1.19, allocations: 173.5 kB / 1.164 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.21e-05/1.19, allocations: 17 kB / 1.164 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/1.19, allocations: 16.7 kB / 1.164 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/1.19, allocations: 28.84 kB / 1.164 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/1.19, allocations: 13.05 kB / 1.164 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004612/1.191, allocations: 359.7 kB / 1.165 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.61e-07/1.191, allocations: 0 / 1.165 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001222/1.192, allocations: 341 kB / 1.165 GB, free: 9.719 MB / 0.8731 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.000542/1.192, allocations: 209.4 kB / 1.165 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00132/1.194, allocations: 0.6032 MB / 1.166 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.194, allocations: 1.219 kB / 1.166 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003223/1.194, allocations: 186.5 kB / 1.166 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/1.196, allocations: 361.3 kB / 1.166 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/1.198, allocations: 1.335 MB / 1.167 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/1.198, allocations: 0.9446 MB / 1.168 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006553/1.199, allocations: 200.2 kB / 1.169 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/1.199, allocations: 49.39 kB / 1.169 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of SimCode: time 5.01e-07/1.199, allocations: 0 / 1.169 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of Templates: time 0.02171/1.221, allocations: 11.8 MB / 1.18 GB, free: 3.488 MB / 0.8731 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 -s cvode -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