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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001343/0.001344, allocations: 117.6 kB / 16.42 MB, free: 6.504 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.001484/0.001484, allocations: 186.5 kB / 17.35 MB, free: 5.758 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.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 469.4 MB / 0.7428 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 63.89 kB / 1.066 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7552/0.7567, allocations: 159.1 MB / 1.221 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.1947/0.9515, allocations: 186.8 MB / 1.403 GB, free: 6.859 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008002/0.9595, allocations: 4.567 MB / 1.408 GB, free: 2.281 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.9608, allocations: 31.81 kB / 1.408 GB, free: 2.25 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.9622, allocations: 417.5 kB / 1.408 GB, free: 1.84 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.9659, allocations: 1.404 MB / 1.41 GB, free: 440 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.9681, allocations: 0.7627 MB / 1.41 GB, free: 15.67 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002519/0.9706, allocations: 1.956 MB / 1.412 GB, free: 13.71 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001157/0.9718, allocations: 0.6533 MB / 1.413 GB, free: 13.05 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003157/0.9749, allocations: 1.122 MB / 1.414 GB, free: 11.93 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.9761, allocations: 0.5844 MB / 1.415 GB, free: 11.35 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.9763, allocations: 64 kB / 1.415 GB, free: 11.29 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002726/0.979, allocations: 1.395 MB / 1.416 GB, free: 9.891 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003557/0.9794, allocations: 287.3 kB / 1.416 GB, free: 9.609 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006597/0.98, allocations: 418.1 kB / 1.417 GB, free: 9.199 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002589/0.9826, allocations: 1.476 MB / 1.418 GB, free: 7.719 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9827, allocations: 3.938 kB / 1.418 GB, free: 7.715 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9827, allocations: 0 / 1.418 GB, free: 7.715 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.912e-05/0.9827, allocations: 0 / 1.418 GB, free: 7.715 MB / 1.139 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.001967/0.9847, allocations: 1.087 MB / 1.419 GB, free: 6.578 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.9847, allocations: 12.62 kB / 1.419 GB, free: 6.566 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.9861, allocations: 198.9 kB / 1.419 GB, free: 6.371 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.9873, allocations: 0.6144 MB / 1.42 GB, free: 5.715 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.9873, allocations: 37.31 kB / 1.42 GB, free: 5.68 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.954e-05/0.9874, allocations: 52 kB / 1.42 GB, free: 5.629 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.9885, allocations: 0.6245 MB / 1.421 GB, free: 4.988 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.9885, allocations: 7.938 kB / 1.421 GB, free: 4.98 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/0.9886, allocations: 24 kB / 1.421 GB, free: 4.957 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.9886, allocations: 21.25 kB / 1.421 GB, free: 4.938 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008045/0.9894, allocations: 0.4931 MB / 1.421 GB, free: 4.445 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.003091/0.9925, allocations: 2.396 MB / 1.424 GB, free: 1.84 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/0.9931, allocations: 355.3 kB / 1.424 GB, free: 1.484 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.9935, allocations: 208.8 kB / 1.424 GB, free: 1.277 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005719/0.994, allocations: 311.2 kB / 1.424 GB, free: 0.918 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.9941, allocations: 46.44 kB / 1.424 GB, free: 0.8633 MB / 1.139 GB Notification: Performance of pre-optimization done (n=36): time 2.235e-06/0.9941, allocations: 0 / 1.424 GB, free: 0.8633 MB / 1.139 GB Notification: Performance of matching and sorting (n=36): time 0.00117/0.9953, allocations: 0.5484 MB / 1.425 GB, free: 316 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.9953, allocations: 59.41 kB / 1.425 GB, free: 244 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/0.9959, allocations: 0.4951 MB / 1.425 GB, free: 15.73 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.996, allocations: 29.7 kB / 1.425 GB, free: 15.69 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.9962, allocations: 319.8 kB / 1.426 GB, free: 15.38 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.9963, allocations: 130.1 kB / 1.426 GB, free: 15.25 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.9965, allocations: 86.03 kB / 1.426 GB, free: 15.16 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9966, allocations: 370.7 kB / 1.426 GB, free: 14.79 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.9969, allocations: 146.5 kB / 1.427 GB, free: 14.64 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.9972, allocations: 271.7 kB / 1.427 GB, free: 14.34 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005417/0.9978, allocations: 402.3 kB / 1.427 GB, free: 13.92 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9978, allocations: 0 / 1.427 GB, free: 13.92 MB / 1.154 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000749/0.9985, allocations: 493.2 kB / 1.428 GB, free: 13.43 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.9986, allocations: 4 kB / 1.428 GB, free: 13.43 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.9986, allocations: 8.344 kB / 1.428 GB, free: 13.42 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.9986, allocations: 8 kB / 1.428 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.9992, allocations: 103.8 kB / 1.428 GB, free: 13.31 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003594/0.9995, allocations: 0.5977 MB / 1.428 GB, free: 12.69 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005125/1, allocations: 51.45 kB / 1.428 GB, free: 12.64 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.055e-05/1, allocations: 16 kB / 1.428 GB, free: 12.62 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004198/1.001, allocations: 335.6 kB / 1.429 GB, free: 12.29 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000308/1.001, allocations: 251.4 kB / 1.429 GB, free: 12.01 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005386/1.001, allocations: 404.3 kB / 1.429 GB, free: 11.58 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/1.001, allocations: 0 / 1.429 GB, free: 11.58 MB / 1.154 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007213/1.002, allocations: 484.8 kB / 1.43 GB, free: 11.1 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/1.002, allocations: 8 kB / 1.43 GB, free: 11.09 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/1.002, allocations: 0 / 1.43 GB, free: 11.09 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/1.002, allocations: 7.938 kB / 1.43 GB, free: 11.09 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/1.003, allocations: 92.16 kB / 1.43 GB, free: 11 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.003, allocations: 8 kB / 1.43 GB, free: 10.99 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/1.003, allocations: 31.73 kB / 1.43 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/1.003, allocations: 20 kB / 1.43 GB, free: 10.94 MB / 1.154 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.0001517/1.003, allocations: 216 kB / 1.43 GB, free: 10.72 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/1.003, allocations: 63.19 kB / 1.43 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007534/1.004, allocations: 439.4 kB / 1.431 GB, free: 10.22 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000608/1.005, allocations: 0.6649 MB / 1.431 GB, free: 9.469 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.005, allocations: 0 / 1.431 GB, free: 9.469 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/1.005, allocations: 176.3 kB / 1.431 GB, free: 9.277 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.544e-05/1.005, allocations: 4 kB / 1.431 GB, free: 9.273 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/1.005, allocations: 8 kB / 1.431 GB, free: 9.266 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/1.006, allocations: 23.97 kB / 1.431 GB, free: 9.242 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001012/1.007, allocations: 0.509 MB / 1.432 GB, free: 8.723 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009052/1.007, allocations: 0.752 MB / 1.433 GB, free: 7.953 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002349/1.008, allocations: 168.1 kB / 1.433 GB, free: 7.789 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004269/1.008, allocations: 362.8 kB / 1.433 GB, free: 7.438 MB / 1.154 GB Notification: Performance of Backend: time 3.51e-07/1.008, allocations: 4 kB / 1.433 GB, free: 7.434 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002391/1.011, allocations: 0.8286 MB / 1.434 GB, free: 6.609 MB / 1.154 GB Notification: Performance of SimCode: time 0.003473/1.014, allocations: 1.905 MB / 1.436 GB, free: 4.652 MB / 1.154 GB Notification: Performance of Templates: time 0.02576/1.04, allocations: 15.61 MB / 1.451 GB, free: 5.188 MB / 1.17 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